You are here

public function BlockComponentRenderArraySubscriber::__construct in Layout Builder Styles 8

BlockComponentRenderArraySubscriber constructor.

Parameters

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

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

File

src/EventSubscriber/BlockComponentRenderArraySubscriber.php, line 38

Class

BlockComponentRenderArraySubscriber
Class BlockComponentRenderArraySubscriber.

Namespace

Drupal\layout_builder_styles\EventSubscriber

Code

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