You are here

abstract protected function BaseLayoutBase::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.

2 calls to BaseLayoutBase::getModifiersOptions()
BaseLayoutBase::buildConfigurationForm in src/Plugin/Layout/BaseLayoutBase.php
Form constructor.
BaseLayoutBase::getDefaultModifiers in src/Plugin/Layout/BaseLayoutBase.php
Get the default modifiers option.
1 method overrides BaseLayoutBase::getModifiersOptions()
DefaultLayoutBase::getModifiersOptions in src/Plugin/Layout/DefaultLayoutBase.php
Gets the modifiers options for the configuration form.

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected abstract function getModifiersOptions();