public function PermissionInterface::setRestrictAccess in Organic groups 8
Sets the access restriction.
Parameters
bool $access: Whether or not this permission is security sensitive and should only be granted to administrators.
Return value
$this
1 method overrides PermissionInterface::setRestrictAccess()
- Permission::setRestrictAccess in src/
Permission.php - Sets the access restriction.
File
- src/
PermissionInterface.php, line 122
Class
- PermissionInterface
- Interface for OG permission classes.
Namespace
Drupal\ogCode
public function setRestrictAccess($access);