You are here

public function OgRole::getGroupBundle in Organic groups 8

Returns the group bundle.

Return value

string The group bundle.

Overrides OgRoleInterface::getGroupBundle

4 calls to OgRole::getGroupBundle()
OgRole::calculateDependencies in src/Entity/OgRole.php
Calculates dependencies and stores them in the dependency property.
OgRole::delete in src/Entity/OgRole.php
Deletes an entity permanently.
OgRole::getName in src/Entity/OgRole.php
Returns the role name.
OgRole::save in src/Entity/OgRole.php
Saves an entity permanently.

File

src/Entity/OgRole.php, line 108

Class

OgRole
Defines the OG user role entity class.

Namespace

Drupal\og\Entity

Code

public function getGroupBundle() {
  return $this
    ->get('group_bundle');
}