public static function ForcePasswordChangeEventSubscriber::getSubscribedEvents in Force Password Change 8
Same name and namespace in other branches
- 2.0.x src/EventSubscriber/ForcePasswordChangeEventSubscriber.php \Drupal\force_password_change\EventSubscriber\ForcePasswordChangeEventSubscriber::getSubscribedEvents()
*
File
- src/
EventSubscriber/ ForcePasswordChangeEventSubscriber.php, line 71
Class
Namespace
Drupal\force_password_change\EventSubscriberCode
public static function getSubscribedEvents() {
// On page load, we need to check for whether the user should be redirected
// to the change password page
$events[KernelEvents::REQUEST][] = [
'checkForPasswordForce',
];
return $events;
}