public static function EventSubscribers::getSubscribedEvents in Open Social 10.3.x
Same name and namespace in other branches
- 8.9 modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::getSubscribedEvents()
- 10.0.x modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::getSubscribedEvents()
- 10.1.x modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::getSubscribedEvents()
- 10.2.x modules/social_features/social_group/modules/social_group_invite/src/EventSubscriber/EventSubscribers.php \Drupal\social_group_invite\EventSubscriber\EventSubscribers::getSubscribedEvents()
Get the request events.
Return value
mixed Returns request events.
File
- modules/
social_features/ social_group/ modules/ social_group_invite/ src/ EventSubscriber/ EventSubscribers.php, line 58
Class
- EventSubscribers
- Class CustomRedirects.
Namespace
Drupal\social_group_invite\EventSubscriberCode
public static function getSubscribedEvents() {
$events[KernelEvents::REQUEST][] = [
'customRedirect',
];
$events[ConfigEvents::SAVE][] = [
'checkForInvite',
];
return $events;
}