You are here

public static function BaseLayoutBase::create in Layout Builder Base 8

1 method overrides BaseLayoutBase::create()
BaseOneColumnLayout::create in modules/layout_builder_base_library/src/Plugin/Layout/BaseOneColumnLayout.php
Creates an instance of the plugin.

File

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

Class

BaseLayoutBase
Configurable layout plugin class.

Namespace

Drupal\layout_builder_base\Plugin\Layout

Code

public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
  return new static($configuration, $plugin_id, $plugin_definition, $container
    ->get('config.factory'));
}