You are here

protected function BaseOneColumnLayout::getModifiersOptions in Layout Builder Base 8

Gets the modifiers options for the configuration form.

Return value

string[] The modifiers options array where the keys are strings that will be added to the CSS classes and the values are the human readable labels. The modifiers are there for developers in order to implement special logic.

Overrides DefaultLayoutBase::getModifiersOptions

File

modules/layout_builder_base_library/src/Plugin/Layout/BaseOneColumnLayout.php, line 399

Class

BaseOneColumnLayout
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base_library\Plugin\Layout

Code

protected function getModifiersOptions() {
  $options = [];
  $this->moduleHandler
    ->alter('layout_builder_base_modifiers', $options);
  return $options;
}