protected function TwoColumnLayout::getDefaultWidth in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php \Drupal\layout_builder\Plugin\Layout\TwoColumnLayout::getDefaultWidth()
Provides a default value for the width options.
Return value
string A key from the array returned by ::getWidthOptions().
Overrides MultiWidthLayoutBase::getDefaultWidth
File
- core/
modules/ layout_builder/ src/ Plugin/ Layout/ TwoColumnLayout.php, line 29
Class
- TwoColumnLayout
- Configurable two column layout plugin class.
Namespace
Drupal\layout_builder\Plugin\LayoutCode
protected function getDefaultWidth() {
return '50-50';
}