You are here

public function Permission::getRestrictAccess in Organic groups 8

Returns whether or not access is restricted.

Return value

bool Whether or not access is restricted.

Overrides PermissionInterface::getRestrictAccess

File

src/Permission.php, line 142

Class

Permission
Base class for OG permissions.

Namespace

Drupal\og

Code

public function getRestrictAccess() {
  return $this
    ->get('restrict access');
}