You are here

protected function TwoColumnLayout::getDefaultWidth in Drupal 9

Same name and namespace in other branches
  1. 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\Layout

Code

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