public function ConfigEventsSubscriber::__construct in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_profile/modules/social_profile_privacy/src/EventSubscriber/ConfigEventsSubscriber.php \Drupal\social_profile_privacy\EventSubscriber\ConfigEventsSubscriber::__construct()
- 8.7 modules/social_features/social_profile/modules/social_profile_privacy/src/EventSubscriber/ConfigEventsSubscriber.php \Drupal\social_profile_privacy\EventSubscriber\ConfigEventsSubscriber::__construct()
- 8.8 modules/social_features/social_profile/modules/social_profile_privacy/src/EventSubscriber/ConfigEventsSubscriber.php \Drupal\social_profile_privacy\EventSubscriber\ConfigEventsSubscriber::__construct()
- 10.0.x modules/social_features/social_profile/modules/social_profile_privacy/src/EventSubscriber/ConfigEventsSubscriber.php \Drupal\social_profile_privacy\EventSubscriber\ConfigEventsSubscriber::__construct()
- 10.1.x modules/social_features/social_profile/modules/social_profile_privacy/src/EventSubscriber/ConfigEventsSubscriber.php \Drupal\social_profile_privacy\EventSubscriber\ConfigEventsSubscriber::__construct()
- 10.2.x modules/social_features/social_profile/modules/social_profile_privacy/src/EventSubscriber/ConfigEventsSubscriber.php \Drupal\social_profile_privacy\EventSubscriber\ConfigEventsSubscriber::__construct()
ConfigEventsSubscriber constructor.
Parameters
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The Drupal module handler service.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The Drupal entity type handler.
\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_channel_factory: A way for this module to log messages.
File
- modules/
social_features/ social_profile/ modules/ social_profile_privacy/ src/ EventSubscriber/ ConfigEventsSubscriber.php, line 50
Class
- ConfigEventsSubscriber
- Class ConfigEventSubscriber.
Namespace
Drupal\social_profile_privacy\EventSubscriberCode
public function __construct(ModuleHandlerInterface $module_handler, EntityTypeManagerInterface $entity_type_manager, LoggerChannelFactoryInterface $logger_channel_factory) {
$this->moduleHandler = $module_handler;
$this->entityTypeManager = $entity_type_manager;
$this->logger = $logger_channel_factory
->get('social_profile_privacy');
}