function ThreeColumnLayout::getWidthOptions
Same name in other branches
- 9 core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout::getWidthOptions()
- 8.9.x core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout::getWidthOptions()
- 10 core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php \Drupal\layout_builder\Plugin\Layout\ThreeColumnLayout::getWidthOptions()
Overrides MultiWidthLayoutBase::getWidthOptions
File
-
core/
modules/ layout_builder/ src/ Plugin/ Layout/ ThreeColumnLayout.php, line 16
Class
- ThreeColumnLayout
- Configurable three column layout plugin class.
Namespace
Drupal\layout_builder\Plugin\LayoutCode
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%',
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.