You are here

public static function CasAutoAssignRolesSubscriber::getSubscribedEvents in CAS 8

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

File

src/Subscriber/CasAutoAssignRolesSubscriber.php, line 35

Class

CasAutoAssignRolesSubscriber
Provides a CasAutoAssignRoleSubscriber.

Namespace

Drupal\cas\Subscriber

Code

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