public function AccessEventInterface::denyAccess in Organic groups 8
Declare that access is being denied.
Calling this method will cause access to be denied for the action that is being checked. This takes precedence over any other event listeners that might grant access.
Return value
\Drupal\Core\Access\AccessResultInterface The updated access result.
1 method overrides AccessEventInterface::denyAccess()
- AccessEventBase::denyAccess in src/
Event/ AccessEventBase.php - Declare that access is being denied.
File
- src/
Event/ AccessEventInterface.php, line 38
Class
- AccessEventInterface
- Interface for events that determine access in Organic Groups.
Namespace
Drupal\og\EventCode
public function denyAccess() : AccessResultInterface;