public function MentionsDelete::__construct in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/custom/mentions/src/EventSubscriber/MentionsDelete.php \Drupal\mentions\EventSubscriber\MentionsDelete::__construct()
- 10.0.x modules/custom/mentions/src/EventSubscriber/MentionsDelete.php \Drupal\mentions\EventSubscriber\MentionsDelete::__construct()
- 10.2.x modules/custom/mentions/src/EventSubscriber/MentionsDelete.php \Drupal\mentions\EventSubscriber\MentionsDelete::__construct()
MentionsDelete constructor.
Parameters
\Drupal\Core\Config\ConfigFactory $config_factory: The config factory.
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager interface.
File
- modules/
custom/ mentions/ src/ EventSubscriber/ MentionsDelete.php, line 36
Class
- MentionsDelete
- MentionsDelete handles event 'mentions.delete'.
Namespace
Drupal\mentions\EventSubscriberCode
public function __construct(ConfigFactory $config_factory, EntityTypeManagerInterface $entity_type_manager) {
$this->configFactory = $config_factory;
$this->entityTypeManager = $entity_type_manager;
}