You are here

protected function BaseLayoutBase::getDefaultColumnWidth in Layout Builder Base 8

Get the default column width option.

Return value

string Return the default column width option.

1 call to BaseLayoutBase::getDefaultColumnWidth()
BaseLayoutBase::defaultConfiguration in src/Plugin/Layout/BaseLayoutBase.php
Gets default configuration for this plugin.
2 methods override BaseLayoutBase::getDefaultColumnWidth()
BaseThreeColumnsLayout::getDefaultColumnWidth in modules/layout_builder_base_library/src/Plugin/Layout/BaseThreeColumnsLayout.php
Get the default column width option.
BaseTwoColumnsLayout::getDefaultColumnWidth in modules/layout_builder_base_library/src/Plugin/Layout/BaseTwoColumnsLayout.php
Get the default column width option.

File

src/Plugin/Layout/BaseLayoutBase.php, line 898

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getDefaultColumnWidth() {
  $options = $this
    ->getColumnWidthOptions();
  return $this
    ->getDefaultConfigOption('column_width', $options);
}