You are here

public function ReplicateUILocalTasks::__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/Plugin/Derivative/ReplicateUILocalTasks.php, line 35

Class

ReplicateUILocalTasks

Namespace

Drupal\replicate_ui\Plugin\Derivative

Code

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