public function GroupTypeInterface::getRoles in Group 8
Same name and namespace in other branches
- 2.0.x src/Entity/GroupTypeInterface.php \Drupal\group\Entity\GroupTypeInterface::getRoles()
Gets the group roles.
Parameters
bool $include_internal: (optional) Whether to include internal roles in the result. Defaults to TRUE.
Return value
\Drupal\group\Entity\GroupRoleInterface[] The group roles this group type uses.
1 method overrides GroupTypeInterface::getRoles()
- GroupType::getRoles in src/
Entity/ GroupType.php - Gets the group roles.
File
- src/
Entity/ GroupTypeInterface.php, line 33
Class
- GroupTypeInterface
- Provides an interface defining a group type entity.
Namespace
Drupal\group\EntityCode
public function getRoles($include_internal = TRUE);