public function ConfigSubscriber::__construct in Group 8
Same name and namespace in other branches
- 2.0.x 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\GroupContentEnablerManagerInterface $plugin_manager: The group content enabler plugin manager.
File
- src/
EventSubscriber/ ConfigSubscriber.php, line 38
Class
- ConfigSubscriber
- Reacts to configuration imports.
Namespace
Drupal\group\EventSubscriberCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, GroupContentEnablerManagerInterface $plugin_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->pluginManager = $plugin_manager;
}