You are here

protected function BaseLayoutBase::getDefaultBackground in Layout Builder Base 8

Get the default background option.

Return value

string Return the default background option.

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

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getDefaultBackground() {
  $options = $this
    ->getBackgroundOptions();
  return $this
    ->getDefaultConfigOption('background', $options);
}