abstract protected function BaseLayoutBase::getRightMarginOptions in Layout Builder Base 8
Gets the right margin options for the configuration form.
Return value
string[] The right margin options array where the keys are strings that will be added to the CSS classes and the values are the human readable labels.
2 calls to BaseLayoutBase::getRightMarginOptions()
- BaseLayoutBase::buildConfigurationForm in src/
Plugin/ Layout/ BaseLayoutBase.php - Form constructor.
- BaseLayoutBase::getDefaultRightMargin in src/
Plugin/ Layout/ BaseLayoutBase.php - Get the default right margin option.
1 method overrides BaseLayoutBase::getRightMarginOptions()
- DefaultLayoutBase::getRightMarginOptions in src/
Plugin/ Layout/ DefaultLayoutBase.php - Gets the right margin options for the configuration form.
File
- src/
Plugin/ Layout/ BaseLayoutBase.php, line 1069
Class
- BaseLayoutBase
- Configurable layout plugin class.
Namespace
Drupal\layout_builder_base\Plugin\LayoutCode
protected abstract function getRightMarginOptions();