You are here

protected function BaseLayoutBase::getDefaultBackgroundOverlay in Layout Builder Base 8

Get the default background overlay option.

Return value

string Return the default background overlay option.

1 call to BaseLayoutBase::getDefaultBackgroundOverlay()
BaseLayoutBase::defaultConfiguration in src/Plugin/Layout/BaseLayoutBase.php
Gets default configuration for this plugin.

File

src/Plugin/Layout/BaseLayoutBase.php, line 667

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getDefaultBackgroundOverlay() {
  $options = $this
    ->getBackgroundOverlayOptions();
  return $this
    ->getDefaultConfigOption('background_overlay', $options);
}