You are here

public static function SocialInviteSubscriber::getSubscribedEvents in Open Social 8.9

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_core/src/EventSubscriber/SocialInviteSubscriber.php \Drupal\social_core\EventSubscriber\SocialInviteSubscriber::getSubscribedEvents()
  2. 10.0.x modules/social_features/social_core/src/EventSubscriber/SocialInviteSubscriber.php \Drupal\social_core\EventSubscriber\SocialInviteSubscriber::getSubscribedEvents()
  3. 10.1.x modules/social_features/social_core/src/EventSubscriber/SocialInviteSubscriber.php \Drupal\social_core\EventSubscriber\SocialInviteSubscriber::getSubscribedEvents()
  4. 10.2.x modules/social_features/social_core/src/EventSubscriber/SocialInviteSubscriber.php \Drupal\social_core\EventSubscriber\SocialInviteSubscriber::getSubscribedEvents()

File

modules/social_features/social_core/src/EventSubscriber/SocialInviteSubscriber.php, line 137

Class

SocialInviteSubscriber
Social event subscriber.

Namespace

Drupal\social_core\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[KernelEvents::REQUEST][] = [
    'notifyAboutPendingInvitations',
  ];
  return $events;
}