class AuthmapAlterSubscriber in Authorization 8
Authmap event subscriber.
Hierarchy
- class \Drupal\authorization\EventSubscriber\AuthmapAlterSubscriber implements \Symfony\Component\EventDispatcher\EventSubscriberInterface
Expanded class hierarchy of AuthmapAlterSubscriber
1 string reference to 'AuthmapAlterSubscriber'
1 service uses AuthmapAlterSubscriber
File
- src/
EventSubscriber/ AuthmapAlterSubscriber.php, line 13
Namespace
Drupal\authorization\EventSubscriberView source
class AuthmapAlterSubscriber implements EventSubscriberInterface {
/**
* Action to take on authorization.
*/
public function onAuthmapAlter() : void {
}
/**
* {@inheritdoc}
*/
public static function getSubscribedEvents() {
$events[ExternalAuthEvents::AUTHMAP_ALTER][] = [
'onAuthmapAlter',
];
return $events;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AuthmapAlterSubscriber:: |
public static | function | Returns an array of event names this subscriber wants to listen to. | |
AuthmapAlterSubscriber:: |
public | function | Action to take on authorization. |