You are here

public function MentionsUpdate::__construct in Open Social 10.0.x

Same name and namespace in other branches
  1. 10.3.x modules/custom/mentions/src/EventSubscriber/MentionsUpdate.php \Drupal\mentions\EventSubscriber\MentionsUpdate::__construct()
  2. 10.1.x modules/custom/mentions/src/EventSubscriber/MentionsUpdate.php \Drupal\mentions\EventSubscriber\MentionsUpdate::__construct()
  3. 10.2.x modules/custom/mentions/src/EventSubscriber/MentionsUpdate.php \Drupal\mentions\EventSubscriber\MentionsUpdate::__construct()

MentionsUpdate 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/MentionsUpdate.php, line 36

Class

MentionsUpdate
MentionsUpdate handles event 'mentions.update'.

Namespace

Drupal\mentions\EventSubscriber

Code

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