You are here

public function BaseLayoutBase::__construct in Layout Builder Base 8

Constructs a BaseOneColumnLayout object.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory service.

Overrides LayoutDefault::__construct

1 call to BaseLayoutBase::__construct()
BaseOneColumnLayout::__construct in modules/layout_builder_base_library/src/Plugin/Layout/BaseOneColumnLayout.php
Constructs a BaseOneColumnLayout object.
1 method overrides BaseLayoutBase::__construct()
BaseOneColumnLayout::__construct in modules/layout_builder_base_library/src/Plugin/Layout/BaseOneColumnLayout.php
Constructs a BaseOneColumnLayout object.

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory) {
  $this->layoutBuilderBaseSettings = $config_factory
    ->get('layout_builder_base.settings');
  parent::__construct($configuration, $plugin_id, $plugin_definition);
}