public function SimpleAccessProfileInterface::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 SimpleAccessProfileInterface::buildGrant()
- SimpleAccessProfile::buildGrant in src/
Entity/ SimpleAccessProfile.php - Build list of grants to be as part of the content selection.
File
- src/
SimpleAccessProfileInterface.php, line 26
Class
- SimpleAccessProfileInterface
- Interface SimpleAccessProfileInterface.
Namespace
Drupal\simple_accessCode
public function buildGrant(AccountInterface $accoun, $op);