public RoleInterface::setIsAdmin($is_admin)
public RoleInterface::isAdmin() Indicates
public RoleInterface::revokePermission($permission)
public RoleInterface::hasPermission($permission)
Role ID for anonymous users; should match what's in the "role" table. File core/modules/user/src/RoleInterface
public RoleInterface::getPermissions() Returns
Role ID for authenticated users; should match what's in the "role" table. File core/modules/user/src/RoleInterface
public RoleInterface::grantPermission($permission)
public RoleInterface::getWeight() Returns
public RoleInterface::setWeight($weight) Sets
Page 1 of 2