public function GroupType::id in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/GroupType.php \Drupal\group\Entity\GroupType::id()
Gets the identifier.
Return value
string|int|null The entity identifier, or NULL if the object does not yet have an identifier.
Overrides EntityBase::id
7 calls to GroupType::id()
- GroupType::getAnonymousRoleId in src/
Entity/ GroupType.php - Gets the generic anonymous role ID.
- GroupType::getMemberRoleId in src/
Entity/ GroupType.php - Gets the generic member role ID.
- GroupType::getOutsiderRoleId in src/
Entity/ GroupType.php - Gets the generic outsider role ID.
- GroupType::getRoleIds in src/
Entity/ GroupType.php - Gets the role IDs.
- GroupType::getRoles in src/
Entity/ GroupType.php - Gets the group roles.
File
- src/
Entity/ GroupType.php, line 114
Class
- GroupType
- Defines the Group type configuration entity.
Namespace
Drupal\group\EntityCode
public function id() {
return $this->id;
}