protected function BaseOneColumnLayout::getContainerOptions in Layout Builder Base 8
Gets the container options for the configuration form.
Return value
string[] The container options array where the keys are strings that will be added to the CSS classes and the values are the human readable labels.
Overrides DefaultLayoutBase::getContainerOptions
File
- modules/
layout_builder_base_library/ src/ Plugin/ Layout/ BaseOneColumnLayout.php, line 324
Class
- BaseOneColumnLayout
- Configurable layout plugin class.
Namespace
Drupal\layout_builder_base_library\Plugin\LayoutCode
protected function getContainerOptions() {
$options = [
'layout--container--default' => $this
->t('Default'),
'layout--container--none' => $this
->t('None'),
'layout--container--small' => $this
->t('Small'),
'layout--container--large' => $this
->t('Large'),
];
$this->moduleHandler
->alter('layout_builder_base_container', $options);
return $options;
}