You are here

public function PermissionInterface::setName in Organic groups 8

Sets the machine name of the permission.

Parameters

string $name: The machine name.

Return value

$this

1 method overrides PermissionInterface::setName()
Permission::setName in src/Permission.php
Sets the machine name of the permission.

File

src/PermissionInterface.php, line 49

Class

PermissionInterface
Interface for OG permission classes.

Namespace

Drupal\og

Code

public function setName($name);