function TwoColumnLayout::getDefaultWidth

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php \Drupal\layout_builder\Plugin\Layout\TwoColumnLayout::getDefaultWidth()
  2. 10 core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php \Drupal\layout_builder\Plugin\Layout\TwoColumnLayout::getDefaultWidth()
  3. 11.x core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php \Drupal\layout_builder\Plugin\Layout\TwoColumnLayout::getDefaultWidth()

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\Layout

Code

protected function getDefaultWidth() {
    return '50-50';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.