public function BaseOneColumnLayout::__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.
\Drupal\Core\Extension\ModuleHandlerInterface $account: The module handler service.
Overrides BaseLayoutBase::__construct
File
- modules/
layout_builder_base_library/ src/ Plugin/ Layout/ BaseOneColumnLayout.php, line 40
Class
- BaseOneColumnLayout
- Configurable layout plugin class.
Namespace
Drupal\layout_builder_base_library\Plugin\LayoutCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, ConfigFactoryInterface $config_factory, ModuleHandlerInterface $module_handler) {
$this->moduleHandler = $module_handler;
parent::__construct($configuration, $plugin_id, $plugin_definition, $config_factory);
}