You are here

public function Permission::setTitle in Organic groups 8

Sets the human readable permission title.

Parameters

string $title: The human readable title.

Return value

$this

Overrides PermissionInterface::setTitle

File

src/Permission.php, line 104

Class

Permission
Base class for OG permissions.

Namespace

Drupal\og

Code

public function setTitle($title) {
  $this
    ->set('title', $title);
  return $this;
}