You are here

protected function DefaultLayoutBase::getColorsOptions in Layout Builder Base 8

Gets the colors options for the configuration form.

Return value

string[] The colors options array where the keys are strings that will be added to the CSS classes and the values are the human readable labels.

Overrides BaseLayoutBase::getColorsOptions

1 method overrides DefaultLayoutBase::getColorsOptions()
BaseOneColumnLayout::getColorsOptions in modules/layout_builder_base_library/src/Plugin/Layout/BaseOneColumnLayout.php
Gets the colors options for the configuration form.

File

src/Plugin/Layout/DefaultLayoutBase.php, line 163

Class

DefaultLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getColorsOptions() {
  return [];
}