You are here

protected function DefaultLayoutBase::getBackgroundSizeOptions in Layout Builder Base 8

Gets the background size options for the configuration form.

Return value

string[] The background size 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::getBackgroundSizeOptions

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

File

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

Class

DefaultLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function getBackgroundSizeOptions() {
  return [];
}