protected function BaseLayoutBase::getDefaultTopMargin in Layout Builder Base 8
Get the default top margin option.
Return value
string Return the default top margin option.
1 call to BaseLayoutBase::getDefaultTopMargin()
- BaseLayoutBase::defaultConfiguration in src/
Plugin/ Layout/ BaseLayoutBase.php - Gets default configuration for this plugin.
File
- src/
Plugin/ Layout/ BaseLayoutBase.php, line 700
Class
- BaseLayoutBase
- Configurable layout plugin class.
Namespace
Drupal\layout_builder_base\Plugin\LayoutCode
protected function getDefaultTopMargin() {
$options = $this
->getTopMarginOptions();
return $this
->getDefaultConfigOption('top_margin', $options);
}