You are here

public function LayoutBuilderBlockSanitizerManager::__construct in Layout Builder Block Sanitizer 8

Constructs a new LayoutBuilderBlockSanitizerManager object.

File

src/LayoutBuilderBlockSanitizerManager.php, line 65

Class

LayoutBuilderBlockSanitizerManager
Class LayoutBuilderBlockSanitizerManager.

Namespace

Drupal\layout_builder_block_sanitizer

Code

public function __construct(BlockContentUuidLookup $block_content_uuid_lookup, SectionStorageManager $plugin_manager_layout_builder_section_storage, LayoutTempstoreRepository $layout_builder_tempstore_repository, EntityTypeManagerInterface $entity_type_manager, MessengerInterface $messenger) {
  $this->blockContentUuidLookup = $block_content_uuid_lookup;
  $this->pluginManagerLayoutBuilderSectionStorage = $plugin_manager_layout_builder_section_storage;
  $this->layoutBuilderTempstoreRepository = $layout_builder_tempstore_repository;
  $this->entityTypeManager = $entity_type_manager;
  $this->messenger = $messenger;
}