You are here

public static function ProfileLabelSubscriber::getSubscribedEvents in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  2. 8 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  3. 8.2 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  4. 8.3 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  5. 8.4 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  6. 8.5 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  7. 8.7 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  8. 8.8 modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  9. 10.3.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  10. 10.0.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  11. 10.1.x modules/social_features/social_profile/src/EventSubscriber/ProfileLabelSubscriber.php \Drupal\social_profile\EventSubscriber\ProfileLabelSubscriber::getSubscribedEvents()
  12. 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\EventSubscriber

Code

public static function getSubscribedEvents() {
  $events[ProfileEvents::PROFILE_LABEL][] = [
    'overrideProfileLabel',
  ];
  return $events;
}