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