You are here

public function BlockComponentRenderArraySubscriber::__construct in Layout Builder Blocks 1.0.x

BlockComponentRenderArraySubscriber constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager.

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: Access configuration.

\Drupal\bootstrap_styles\StylesGroup\StylesGroupManager $styles_group_manager: The styles group plugin manager.

File

src/EventSubscriber/BlockComponentRenderArraySubscriber.php, line 41

Class

BlockComponentRenderArraySubscriber
Class BlockComponentRenderArraySubscriber.

Namespace

Drupal\layout_builder_blocks\EventSubscriber

Code

public function __construct(EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $config_factory, StylesGroupManager $styles_group_manager) {
  $this->entityTypeManager = $entityTypeManager;
  $this->configFactory = $config_factory;
  $this->stylesGroupManager = $styles_group_manager;
}