You are here

public function GroupRole::getGroupTypeId in Group 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/GroupRole.php \Drupal\group\Entity\GroupRole::getGroupTypeId()

Returns the ID of the group type this role belongs to.

Return value

string The ID of the group type this role belongs to.

Overrides GroupRoleInterface::getGroupTypeId

1 call to GroupRole::getGroupTypeId()
GroupRole::urlRouteParameters in src/Entity/GroupRole.php
Gets an array of placeholders for this entity.

File

src/Entity/GroupRole.php, line 192

Class

GroupRole
Defines the Group role configuration entity.

Namespace

Drupal\group\Entity

Code

public function getGroupTypeId() {
  return $this->group_type;
}