You are here

public function ConfigSubscriber::__construct in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/EventSubscriber/ConfigSubscriber.php \Drupal\group\EventSubscriber\ConfigSubscriber::__construct()

Constructs a new ConfigSubscriber object.

Parameters

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

\Drupal\group\Plugin\Group\Relation\GroupRelationManagerInterface $plugin_manager: The group relation plugin manager.

File

src/EventSubscriber/ConfigSubscriber.php, line 38

Class

ConfigSubscriber
Reacts to configuration imports.

Namespace

Drupal\group\EventSubscriber

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, GroupRelationManagerInterface $plugin_manager) {
  $this->entityTypeManager = $entity_type_manager;
  $this->pluginManager = $plugin_manager;
}