You are here

public static function InlineBlockDeriver::create in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\InlineBlockDeriver::create()
  2. 9 core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php \Drupal\layout_builder\Plugin\Derivative\InlineBlockDeriver::create()

File

core/modules/layout_builder/src/Plugin/Derivative/InlineBlockDeriver.php, line 38

Class

InlineBlockDeriver
Provides inline block plugin definitions for all custom block types.

Namespace

Drupal\layout_builder\Plugin\Derivative

Code

public static function create(ContainerInterface $container, $base_plugin_id) {
  return new static($container
    ->get('entity_type.manager'));
}