constant GroupTypeInterface::ID_MAX_LENGTH in Group 2.0.x
Same name and namespace in other branches
- 8 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\EntityCode
const ID_MAX_LENGTH = 22;