class ThreeColumnLayout
Same name in other branches
- 9 core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout
- 10 core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout
- 11.x core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout
Configurable three column layout plugin class.
@internal Plugin classes are internal.
Hierarchy
- class \Drupal\Component\Plugin\PluginBase implements \Drupal\Component\Plugin\PluginInspectionInterface, \Drupal\Component\Plugin\DerivativeInspectionInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
- class \Drupal\Core\Layout\LayoutDefault extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Layout\LayoutInterface, \Drupal\Core\Plugin\PluginFormInterface
- class \Drupal\layout_builder\Plugin\Layout\MultiWidthLayoutBase extends \Drupal\Core\Layout\LayoutDefault implements \Drupal\Core\Plugin\PluginFormInterface
- class \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout extends \Drupal\layout_builder\Plugin\Layout\MultiWidthLayoutBase
- class \Drupal\layout_builder\Plugin\Layout\MultiWidthLayoutBase extends \Drupal\Core\Layout\LayoutDefault implements \Drupal\Core\Plugin\PluginFormInterface
- class \Drupal\Core\Layout\LayoutDefault extends \Drupal\Core\Plugin\PluginBase implements \Drupal\Core\Layout\LayoutInterface, \Drupal\Core\Plugin\PluginFormInterface
- class \Drupal\Core\Plugin\PluginBase extends \Drupal\Component\Plugin\PluginBase uses \Drupal\Core\StringTranslation\StringTranslationTrait, \Drupal\Core\DependencyInjection\DependencySerializationTrait, \Drupal\Core\Messenger\MessengerTrait
Expanded class hierarchy of ThreeColumnLayout
1 string reference to 'ThreeColumnLayout'
- layout_builder.layouts.yml in core/
modules/ layout_builder/ layout_builder.layouts.yml - core/modules/layout_builder/layout_builder.layouts.yml
File
-
core/
modules/ layout_builder/ src/ Plugin/ Layout/ ThreeColumnLayout.php, line 11
Namespace
Drupal\layout_builder\Plugin\LayoutView source
class ThreeColumnLayout extends MultiWidthLayoutBase {
/**
* {@inheritdoc}
*/
protected function getWidthOptions() {
return [
'25-50-25' => '25%/50%/25%',
'33-34-33' => '33%/34%/33%',
'25-25-50' => '25%/25%/50%',
'50-25-25' => '50%/25%/25%',
];
}
/**
* {@inheritdoc}
*/
protected function getDefaultWidth() {
return '33-34-33';
}
}
Members
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.