RoleInterface::AUTHENTICATED_ID

Same name and namespace in other branches
  1. 9 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::AUTHENTICATED_ID
  2. 8.9.x core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::AUTHENTICATED_ID
  3. 10 core/modules/user/src/RoleInterface.php \Drupal\user\RoleInterface::AUTHENTICATED_ID

Role ID for authenticated users; should match the 'role' entity ID.

File

core/modules/user/src/RoleInterface.php, line 23

Class

RoleInterface
Provides an interface defining a user role entity.

Namespace

Drupal\user

Code

const AUTHENTICATED_ID = AccountInterface::AUTHENTICATED_ROLE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.