You are here

public function GroupContentOperationPermission::setOwner in Organic groups 8

Sets the owner scope of this permission.

Parameters

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

Return value

$this

File

src/GroupContentOperationPermission.php, line 139

Class

GroupContentOperationPermission
A group level permission.

Namespace

Drupal\og

Code

public function setOwner($owner) {
  $this
    ->set('owner', $owner);
  return $this;
}