public function GroupRole::id in Group 2.0.x
Same name and namespace in other branches
- 8 src/Entity/GroupRole.php \Drupal\group\Entity\GroupRole::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
File
- src/
Entity/ GroupRole.php, line 132
Class
- GroupRole
- Defines the Group role configuration entity.
Namespace
Drupal\group\EntityCode
public function id() {
return $this->id;
}