You are here

public function GroupContentOperationPermission::setBundle in Organic groups 8

Sets the group content bundle ID to which this permission applies.

Parameters

string $bundle: The group content bundle ID.

Return value

$this

File

src/GroupContentOperationPermission.php, line 91

Class

GroupContentOperationPermission
A group level permission.

Namespace

Drupal\og

Code

public function setBundle($bundle) {
  $this
    ->set('bundle', $bundle);
  return $this;
}