public static function ProfileLabelSubscriber::getSubscribedEvents in Open Social 8.5
Same name and namespace in other branches
- 8.9 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8.2 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8.3 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8.4 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8.6 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8.7 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 8.8 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 10.3.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 10.0.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 10.1.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
- 10.2.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
Get the label event.
Return value
mixed Returns request events.
File
- modules/
social_features/ social_profile/ src/ EventSubscriber/ ProfileLabelSubscriber.php, line 24
Class
- ProfileLabelSubscriber
- Class ProfileLabelSubscriber.
Namespace
Drupal\social_profile\EventSubscriberCode
public static function getSubscribedEvents() {
$events[ProfileEvents::PROFILE_LABEL][] = [
'overrideProfileLabel',
];
return $events;
}