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