You are here

public static function LayoutBuilderBlockSanitizerManager::create in Layout Builder Block Sanitizer 8

Create method.

Overrides ContainerInjectionInterface::create

File

src/LayoutBuilderBlockSanitizerManager.php, line 76

Class

LayoutBuilderBlockSanitizerManager
Class LayoutBuilderBlockSanitizerManager.

Namespace

Drupal\layout_builder_block_sanitizer

Code

public static function create(ContainerInterface $container) {
  return new static($container
    ->get('block_content.uuid_lookup'), $container
    ->get('plugin.manager.layout_builder.section_storage'), $container
    ->get('layout_builder.tempstore_repository'), $container
    ->get('entity_type.manager'), $container
    ->get('messenger'));
}