You are here

protected function BaseLayoutBase::getDefaultBackgroundSize in Layout Builder Base 8

Get the default background size option.

Return value

string Return the default background size option.

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

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getDefaultBackgroundSize() {
  $options = $this
    ->getBackgroundSizeOptions();
  return $this
    ->getDefaultConfigOption('background_size', $options);
}