You are here

public static function MentionsInsert::getSubscribedEvents in Open Social 10.0.x

Same name and namespace in other branches
  1. 8.9 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  2. 8 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  3. 8.2 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  4. 8.3 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  5. 8.4 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  6. 8.5 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  7. 8.6 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  8. 8.7 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  9. 8.8 modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  10. 10.3.x modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  11. 10.1.x modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()
  12. 10.2.x modules/custom/mentions/src/EventSubscriber/MentionsInsert.php \Drupal\mentions\EventSubscriber\MentionsInsert::getSubscribedEvents()

File

modules/custom/mentions/src/EventSubscriber/MentionsInsert.php, line 44

Class

MentionsInsert
MentionsInsert handles event 'mentions.insert'.

Namespace

Drupal\mentions\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events['mentions.insert'][] = [
    'onMentionsInsert',
    0,
  ];
  return $events;
}