protected function BaseOneColumnLayout::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.
Overrides BaseLayoutBase::enableImageBackground
File
- modules/
layout_builder_base_library/ src/ Plugin/ Layout/ BaseOneColumnLayout.php, line 409
Class
- BaseOneColumnLayout
- Configurable layout plugin class.
Namespace
Drupal\layout_builder_base_library\Plugin\LayoutCode
protected function enableImageBackground() {
return TRUE;
}