You are here

public function GroupType::id in Group 8

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

... See full list

File

src/Entity/GroupType.php, line 114

Class

GroupType
Defines the Group type configuration entity.

Namespace

Drupal\group\Entity

Code

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