You are here

public function GroupContentOperationPermission::getOwner in Organic groups 8

Returns the owner scope of this permission.

Return value

bool FALSE if this permission applies to all entities, TRUE if it only applies to the entities owned by the user.

File

src/GroupContentOperationPermission.php, line 126

Class

GroupContentOperationPermission
A group level permission.

Namespace

Drupal\og

Code

public function getOwner() {
  return $this
    ->get('owner');
}