function 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';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.