You are here

public function RouteSubscriber::__construct in Replicate UI 8

Creates a new RouteSubscriber instance.

Parameters

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

\Drupal\Core\Config\ConfigFactoryInterface $config_factory: The config factory.

File

src/RouteSubscriber.php, line 33

Class

RouteSubscriber

Namespace

Drupal\replicate_ui

Code

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