RoleInterface::ANONYMOUS_ID

Role ID for anonymous users; should match what's in the "role" table.

File

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

Class

RoleInterface
Provides an interface defining a user role entity.

Namespace

Drupal\user

Code

const ANONYMOUS_ID = AccountInterface::ANONYMOUS_ROLE;
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.