protected function DefaultLayoutBase::getTopMarginOptions in Layout Builder Base 8
Gets the top margin options for the configuration form.
Return value
string[] The top margin options array where the keys are strings that will be added to the CSS classes and the values are the human readable labels.
Overrides BaseLayoutBase::getTopMarginOptions
1 method overrides DefaultLayoutBase::getTopMarginOptions()
- BaseOneColumnLayout::getTopMarginOptions in modules/
layout_builder_base_library/ src/ Plugin/ Layout/ BaseOneColumnLayout.php - Gets the top margin options for the configuration form.
File
- src/
Plugin/ Layout/ DefaultLayoutBase.php, line 72
Class
- DefaultLayoutBase
- Configurable layout plugin class.
Namespace
Drupal\layout_builder_base\Plugin\LayoutCode
protected function getTopMarginOptions() {
return [];
}