public static function TeamInvitationSubscriber::getSubscribedEvents in Apigee Edge 8
Same name in this branch
- 8 modules/apigee_edge_teams/src/EventSubscriber/TeamInvitationSubscriber.php \Drupal\apigee_edge_teams\EventSubscriber\TeamInvitationSubscriber::getSubscribedEvents()
- 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/ tests/ modules/ apigee_edge_teams_invitation_test/ src/ EventSubscriber/ TeamInvitationSubscriber.php, line 36
Class
- TeamInvitationSubscriber
- Defines a subscriber for team_invitation events.
Namespace
Drupal\apigee_edge_teams_invitation_test\EventSubscriberCode
public static function getSubscribedEvents() {
$events[TeamInvitationEvents::CREATED][] = 'onCreated';
$events[TeamInvitationEvents::DECLINED][] = 'onDeclined';
$events[TeamInvitationEvents::ACCEPTED][] = 'onAccepted';
return $events;
}