public static function CasTestSubscriber::getSubscribedEvents in CAS 2.x
Same name and namespace in other branches
- 8 tests/modules/cas_test/src/CasTestSubscriber.php \Drupal\cas_test\CasTestSubscriber::getSubscribedEvents()
File
- tests/
modules/ cas_test/ src/ CasTestSubscriber.php, line 18
Class
- CasTestSubscriber
- Subscribes to pre-login and pre-register events.
Namespace
Drupal\cas_testCode
public static function getSubscribedEvents() {
$events[CasHelper::EVENT_PRE_REGISTER][] = [
'onPreRegister',
0,
];
$events[CasHelper::EVENT_PRE_LOGIN][] = [
'onPreLogin',
0,
];
return $events;
}