public function OgRoleInterface::setName in Organic groups 8
Sets the role name.
Parameters
string $name: The role name.
Return value
$this
1 method overrides OgRoleInterface::setName()
- OgRole::setName in src/
Entity/ OgRole.php - Sets the role name.
File
- src/
OgRoleInterface.php, line 149
Class
- OgRoleInterface
- Provides an interface defining an OG user role entity.
Namespace
Drupal\ogCode
public function setName($name);