You are here

public function SimpleAccessGroupInterface::buildGrant in Simple Access 8.3

Build list of grants to be as part of the content selection.

Parameters

\Drupal\user\UserInterface|null $account: Account of the user to generate access for.

string $op: Operation which is being queried.

Return value

array A list of all the grants to be used.

1 method overrides SimpleAccessGroupInterface::buildGrant()
SimpleAccessGroup::buildGrant in src/Entity/SimpleAccessGroup.php
Build list of grants to be as part of the content selection.

File

src/SimpleAccessGroupInterface.php, line 26

Class

SimpleAccessGroupInterface
Interface SimpleAccessGroupInterface.

Namespace

Drupal\simple_access

Code

public function buildGrant(AccountInterface $account, $op);