private function AccessCheck::dispatchDeniedEvent in Permissions by Term 8.2
2 calls to AccessCheck::dispatchDeniedEvent()
- AccessCheck::dispatchDeniedEventOnRestricedAccess in src/
Service/ AccessCheck.php - AccessCheck::handleNode in src/
Service/ AccessCheck.php
File
- src/
Service/ AccessCheck.php, line 235
Class
- AccessCheck
- AccessCheckService class.
Namespace
Drupal\permissions_by_term\ServiceCode
private function dispatchDeniedEvent($nodeId) : void {
$accessDeniedEvent = new PermissionsByTermDeniedEvent($nodeId);
$this->eventDispatcher
->dispatch(PermissionsByTermDeniedEvent::NAME, $accessDeniedEvent);
}