Search for role

  1. Search 7.x for role
  2. Search 9.5.x for role
  3. Search 8.9.x for role
  4. Search 10.3.x for role
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Role class core/modules/user/src/Entity/Role.php Defines the user role entity class.
Role class core/modules/user/src/Plugin/views/access/Role.php Access plugin that provides role-based access control.
Role class core/modules/user/src/Plugin/migrate/source/d6/Role.php Drupal 6 role source from database.
Role class core/modules/user/src/Plugin/migrate/source/d7/Role.php Drupal 7 role source from database.

All search results

Title Object type File name Summary
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.
RoleTest class core/modules/jsonapi/tests/src/Functional/RoleTest.php JSON:API integration test for the "Role" config entity type.
RoleTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/RoleTest.php Tests the d6_user_role source plugin.
RoleTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/RoleTest.php Tests the d7_user_role source plugin.
RoleTest.php file core/modules/jsonapi/tests/src/Functional/RoleTest.php
RoleTest.php file core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/RoleTest.php
RoleTest.php file core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/RoleTest.php
RoleTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/RoleTest.php The theme to install as the default for testing.
RoleTest::$entity property core/modules/jsonapi/tests/src/Functional/RoleTest.php
RoleTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/RoleTest.php The tested entity type.
RoleTest::$modules property core/modules/jsonapi/tests/src/Functional/RoleTest.php Modules to install.
RoleTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/RoleTest.php Modules to install.
RoleTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/RoleTest.php Modules to install.
RoleTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/RoleTest.php The name of the tested JSON:API resource type.
RoleTest::createEntity function core/modules/jsonapi/tests/src/Functional/RoleTest.php Creates the entity to be tested.
RoleTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/RoleTest.php Returns the expected JSON:API document for the entity.
RoleTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/RoleTest.php Returns the JSON:API POST document.
RoleTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/RoleTest.php
RoleTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/RoleTest.php
RoleTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/RoleTest.php Sets up the necessary authorization.
RoleUserTestBase class core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php Provides a base class for user role action tests.
RoleUserTestBase.php file core/modules/user/tests/src/Unit/Plugin/Action/RoleUserTestBase.php

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