You are here

abstract protected function BaseLayoutBase::getBackgroundAttachmentOptions in Layout Builder Base 8

Gets the background attachment options for the configuration form.

Return value

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

2 calls to BaseLayoutBase::getBackgroundAttachmentOptions()
BaseLayoutBase::buildConfigurationForm in src/Plugin/Layout/BaseLayoutBase.php
Form constructor.
BaseLayoutBase::getDefaultBackgroundAttachment in src/Plugin/Layout/BaseLayoutBase.php
Get the default background attachment option.
1 method overrides BaseLayoutBase::getBackgroundAttachmentOptions()
DefaultLayoutBase::getBackgroundAttachmentOptions in src/Plugin/Layout/DefaultLayoutBase.php
Gets the background attachment options for the configuration form.

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected abstract function getBackgroundAttachmentOptions();