You are here

public static function TeamInvitationSubscriber::getSubscribedEvents in Apigee Edge 8

Same name in this branch
  1. 8 modules/apigee_edge_teams/src/EventSubscriber/TeamInvitationSubscriber.php \Drupal\apigee_edge_teams\EventSubscriber\TeamInvitationSubscriber::getSubscribedEvents()
  2. 8 modules/apigee_edge_teams/tests/modules/apigee_edge_teams_invitation_test/src/EventSubscriber/TeamInvitationSubscriber.php \Drupal\apigee_edge_teams_invitation_test\EventSubscriber\TeamInvitationSubscriber::getSubscribedEvents()

File

modules/apigee_edge_teams/src/EventSubscriber/TeamInvitationSubscriber.php, line 97

Class

TeamInvitationSubscriber
Event subscriber for team invitation.

Namespace

Drupal\apigee_edge_teams\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[TeamInvitationEvents::CREATED][] = 'onCreated';
  $events[TeamInvitationEvents::ACCEPTED][] = 'onAccepted';
  return $events;
}