User::getPreferredLangcode($fallback_to_default = TRUE)
Defines the user role entity class. Plugin annotation @ConfigEntityType(
public Role::setWeight($weight) Sets the
public User::isActive() Returns TRUE if
public User::isAnonymous() Returns TRUE
Stores a reference for a reusable anonymous user entity. Type:
public User::isAuthenticated() Returns
An indicator whether the role has all permissions. Type: bool File
public User::addRole($rid) Add a role to
public static User::getAnonymousUser() Returns
Page 4 of 6