You are here

public function OgRoleInterface::getName in Organic groups 8

Returns the role name.

A role's name consists of the portion of the ID after the group entity type ID and the group bundle ID.

Return value

string The role name.

1 method overrides OgRoleInterface::getName()
OgRole::getName in src/Entity/OgRole.php
Returns the role name.

File

src/OgRoleInterface.php, line 139

Class

OgRoleInterface
Provides an interface defining an OG user role entity.

Namespace

Drupal\og

Code

public function getName();