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