You are here

public function Permission::setDescription in Organic groups 8

Sets the description.

Parameters

string $description: The machine description.

Return value

$this

Overrides PermissionInterface::setDescription

File

src/Permission.php, line 119

Class

Permission
Base class for OG permissions.

Namespace

Drupal\og

Code

public function setDescription($description) {
  $this
    ->set('description', $description);
  return $this;
}