You are here

protected function DefaultLayoutBase::getWidthOptions in Layout Builder Base 8

Gets the width options for the configuration form.

The first option will be used as the default 'column_widths' configuration value.

Return value

string[] The width options array where the keys are strings that will be added to the CSS classes and the values are the human readable labels.

Overrides MultiWidthLayoutBase::getWidthOptions

File

src/Plugin/Layout/DefaultLayoutBase.php, line 16

Class

DefaultLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getWidthOptions() {
  return [];
}