You are here

public static function CasAttributesSubscriber::getSubscribedEvents in CAS Attributes 8

Same name and namespace in other branches
  1. 2.x src/Subscriber/CasAttributesSubscriber.php \Drupal\cas_attributes\Subscriber\CasAttributesSubscriber::getSubscribedEvents()

File

src/Subscriber/CasAttributesSubscriber.php, line 60

Class

CasAttributesSubscriber
Provides a CasAttributesSubscriber.

Namespace

Drupal\cas_attributes\Subscriber

Code

public static function getSubscribedEvents() {
  $events[CasHelper::EVENT_PRE_REGISTER][] = [
    'onPreRegister',
    -1,
  ];
  $events[CasHelper::EVENT_PRE_LOGIN][] = [
    'onPreLogin',
    20,
  ];
  $events[CasHelper::EVENT_POST_LOGIN][] = [
    'onPostLogin',
  ];
  return $events;
}