You are here

public function AccessEventInterface::grantAccess in Organic groups 8

Declare that access is being granted.

Calling this method will cause access to be granted for the action that is being checked, unless another event listener denies access.

Return value

\Drupal\Core\Access\AccessResultInterface The updated access result.

1 method overrides AccessEventInterface::grantAccess()
AccessEventBase::grantAccess in src/Event/AccessEventBase.php
Declare that access is being granted.

File

src/Event/AccessEventInterface.php, line 26

Class

AccessEventInterface
Interface for events that determine access in Organic Groups.

Namespace

Drupal\og\Event

Code

public function grantAccess() : AccessResultInterface;