You are here

protected function BaseLayoutBase::getDefaultColor in Layout Builder Base 8

Get the default color option.

Return value

string Return the default color option.

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

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getDefaultColor() {
  $options = $this
    ->getColorsOptions();
  return $this
    ->getDefaultConfigOption('color', $options);
}