RoleInterface::ANONYMOUS_ID
Same name in other branches
- 9 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::ANONYMOUS_ID
- 10 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::ANONYMOUS_ID
- 11.x core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::ANONYMOUS_ID
Role ID for anonymous users; should match the 'role' entity ID.
File
-
core/
modules/ user/ src/ RoleInterface.php, line 18
Class
- RoleInterface
- Provides an interface defining a user role entity.
Namespace
Drupal\userCode
const ANONYMOUS_ID = AccountInterface::ANONYMOUS_ROLE;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.