You are here

public static function MentionsUpdate::getSubscribedEvents in Open Social 8

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

File

modules/custom/mentions/src/EventSubscriber/MentionsUpdate.php, line 15

Class

MentionsUpdate
MentionsUpdate handles event 'mentions.update'.

Namespace

Drupal\mentions\EventSubscriber

Code

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