You are here

public function OgRoleInterface::setId in Organic groups 8

Sets the ID of the role.

Parameters

string $id: The machine name of the role.

Return value

$this

1 method overrides OgRoleInterface::setId()
OgRole::setId in src/Entity/OgRole.php
Sets the ID of the role.

File

src/OgRoleInterface.php, line 51

Class

OgRoleInterface
Provides an interface defining an OG user role entity.

Namespace

Drupal\og

Code

public function setId($id);