Search for roles

  1. Search 7.x for roles
  2. Search 9.5.x for roles
  3. Search 8.9.x for roles
  4. Search 11.x for roles
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Roles class core/modules/user/src/Plugin/views/field/Roles.php Field handler to provide a list of roles.
Roles class core/modules/user/src/Plugin/views/filter/Roles.php Filter handler for user roles.

All search results

Title Object type File name Summary
RoleSettingsForm::submitForm function core/modules/user/src/Form/RoleSettingsForm.php Form submission handler.
RoleSettingsForm::__construct function core/modules/user/src/Form/RoleSettingsForm.php Constructs a \Drupal\user\Form\RoleSettingsForm object.
RolesLookup class core/modules/block/src/Plugin/migrate/process/RolesLookup.php Gets the destination roles ID for an array of source roles IDs.
RolesLookup.php file core/modules/block/src/Plugin/migrate/process/RolesLookup.php
RolesLookup::$migrateLookup property core/modules/block/src/Plugin/migrate/process/RolesLookup.php The migrate lookup service.
RolesLookup::$migration property core/modules/block/src/Plugin/migrate/process/RolesLookup.php The migration for user role lookup.
RolesLookup::create function core/modules/block/src/Plugin/migrate/process/RolesLookup.php Creates an instance of the plugin.
RolesLookup::transform function core/modules/block/src/Plugin/migrate/process/RolesLookup.php Performs the associated process.
RolesLookup::__construct function core/modules/block/src/Plugin/migrate/process/RolesLookup.php Constructs a BlockVisibility object.
RolesRid class core/modules/user/src/Plugin/views/argument/RolesRid.php Allow role ID(s) as argument.
RolesRid.php file core/modules/user/src/Plugin/views/argument/RolesRid.php
RolesRid::$roleStorage property core/modules/user/src/Plugin/views/argument/RolesRid.php The role entity storage.
RolesRid::create function core/modules/user/src/Plugin/views/argument/RolesRid.php Creates an instance of the plugin.
RolesRid::titleQuery function core/modules/user/src/Plugin/views/argument/RolesRid.php Override for specific title lookups.
RolesRid::__construct function core/modules/user/src/Plugin/views/argument/RolesRid.php Constructs a \Drupal\user\Plugin\views\argument\RolesRid object.
RolesRidArgumentTest class core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php Tests the handler of the user: roles argument.
RolesRidArgumentTest.php file core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php
RolesRidArgumentTest::$defaultTheme property core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php The theme to install as the default for testing.
RolesRidArgumentTest::$modules property core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php Modules to install.
RolesRidArgumentTest::$testViews property core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php Views used by this test.
RolesRidArgumentTest::testArgumentTitle function core/modules/user/tests/src/Functional/Views/RolesRidArgumentTest.php Tests the generated title of a user: roles argument.
RolesRidTest class core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php @coversDefaultClass \Drupal\user\Plugin\views\argument\RolesRid
@group user
RolesRidTest.php file core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php
RolesRidTest::testTitleQuery function core/modules/user/tests/src/Unit/Views/Argument/RolesRidTest.php Tests the titleQuery method.
RoleStorage class core/modules/user/src/RoleStorage.php Controller class for user roles.
RoleStorage.php file core/modules/user/src/RoleStorage.php
RoleStorage::isPermissionInRoles function core/modules/user/src/RoleStorage.php Returns whether a permission is in one of the passed in roles.
RoleStorageInterface interface core/modules/user/src/RoleStorageInterface.php Defines an interface for role entity storage classes.
RoleStorageInterface.php file core/modules/user/src/RoleStorageInterface.php
RoleStorageInterface::isPermissionInRoles function core/modules/user/src/RoleStorageInterface.php Returns whether a permission is in one of the passed in roles.
Secure::$roles property core/tests/Drupal/Tests/Component/Annotation/Doctrine/Fixtures/Annotation/Secure.php
SiteConfigureForm::getAdminRoles function core/lib/Drupal/Core/Installer/Form/SiteConfigureForm.php Returns the list of admin roles.
User accounts, permissions, and roles group core/core.api.php API for user accounts, access checking, roles, and permissions.
User::getRoles function core/modules/user/src/Entity/User.php
User::getRoleStorage function core/modules/user/src/Entity/User.php Returns the role storage object.
UserKernelTestBase::$roleStorage property core/modules/user/tests/src/Kernel/Views/UserKernelTestBase.php The entity storage for roles.
UserPermissionsForm::$roleStorage property core/modules/user/src/Form/UserPermissionsForm.php The role storage.
UserPermissionsForm::getRoles function core/modules/user/src/Form/UserPermissionsForm.php Gets the roles to display in this form.
UserPermissionsRoleSpecificForm class core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php Provides the user permissions administration form for a specific role.
UserPermissionsRoleSpecificForm.php file core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php
UserPermissionsRoleSpecificForm::$userRole property core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php The specific role for this form.
UserPermissionsRoleSpecificForm::buildForm function core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php Builds the user permissions administration form for a specific role.
UserPermissionsRoleSpecificForm::getRoles function core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php Gets the roles to display in this form.
UserRolesAccessPolicy class core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Grants permissions based on a user's roles.
UserRolesAccessPolicy.php file core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php
UserRolesAccessPolicy::calculatePermissions function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Calculates the permissions for an account within a given scope.
UserRolesAccessPolicy::getPersistentCacheContexts function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php Gets the persistent cache contexts.
UserRolesAccessPolicy::__construct function core/lib/Drupal/Core/Session/UserRolesAccessPolicy.php
UserRolesAccessPolicyTest class core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php @coversDefaultClass \Drupal\Core\Session\UserRolesAccessPolicy
@group Session
UserRolesAccessPolicyTest.php file core/tests/Drupal/Tests/Core/Session/UserRolesAccessPolicyTest.php

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