You are here

constant GroupTypeInterface::ID_MAX_LENGTH in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/GroupTypeInterface.php \Drupal\group\Entity\GroupTypeInterface::ID_MAX_LENGTH

The maximum length of the ID, in characters.

This is shorter than the default limit of 32 to allow group roles to have an ID which can be appended to the group type's ID without exceeding the default limit there. We leave of 10 characters to account for '-anonymous'.

File

src/Entity/GroupTypeInterface.php, line 21

Class

GroupTypeInterface
Provides an interface defining a group type entity.

Namespace

Drupal\group\Entity

Code

const ID_MAX_LENGTH = 22;