Skip to content

Commit

Permalink
Issue #3114545 by Deepthi kumari, joachim: docs for role constants me…
Browse files Browse the repository at this point in the history
…ntion table instead of entity ID

(cherry picked from commit 2de1352f4ad7772c4b6974f7790de1beebc4c1d3)
  • Loading branch information
alexpott committed Mar 1, 2020
1 parent 48f0a0b commit 64702cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/user/src/RoleInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
interface RoleInterface extends ConfigEntityInterface {

/**
* Role ID for anonymous users; should match what's in the "role" table.
* Role ID for anonymous users; should match the 'role' entity ID.
*/
const ANONYMOUS_ID = AccountInterface::ANONYMOUS_ROLE;

/**
* Role ID for authenticated users; should match what's in the "role" table.
* Role ID for authenticated users; should match the 'role' entity ID.
*/
const AUTHENTICATED_ID = AccountInterface::AUTHENTICATED_ROLE;

Expand Down

0 comments on commit 64702cb

Please sign in to comment.