You are here

public static function CasTestSubscriber::getSubscribedEvents in CAS 8

Same name and namespace in other branches
  1. 2.x tests/modules/cas_test/src/CasTestSubscriber.php \Drupal\cas_test\CasTestSubscriber::getSubscribedEvents()

File

tests/modules/cas_test/src/CasTestSubscriber.php, line 18

Class

CasTestSubscriber
Class CasTestSubscriber.

Namespace

Drupal\cas_test

Code

public static function getSubscribedEvents() {
  $events[CasHelper::EVENT_PRE_REGISTER][] = [
    'onPreRegister',
    0,
  ];
  $events[CasHelper::EVENT_PRE_LOGIN][] = [
    'onPreLogin',
    0,
  ];
  return $events;
}