You are here

protected function BaseLayoutBase::enableImageBackground in Layout Builder Base 8

Function to enable the background image feature.

Override this function and return TRUE in order to enable the image background feature.

Return value

bool Boolean to know if the image background feature is enabled or not.

1 call to BaseLayoutBase::enableImageBackground()
BaseLayoutBase::buildConfigurationForm in src/Plugin/Layout/BaseLayoutBase.php
Form constructor.
1 method overrides BaseLayoutBase::enableImageBackground()
BaseOneColumnLayout::enableImageBackground in modules/layout_builder_base_library/src/Plugin/Layout/BaseOneColumnLayout.php
Function to enable the background image feature.

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

protected function enableImageBackground() {
  return FALSE;
}