You are here

public function GroupRole::getGroupTypeId in Group 8

Same name and namespace in other branches
  1. 2.0.x 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;
}