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
Roles::create function core/modules/user/src/Plugin/views/filter/Roles.php Creates an instance of the plugin.
Roles::documentSelfTokens function core/modules/user/src/Plugin/views/field/Roles.php Document any special tokens this field might use for itself.
Roles::getValueOptions function core/modules/user/src/Plugin/views/filter/Roles.php Gets the value options.
Roles::init function core/modules/user/src/Plugin/views/field/Roles.php Initialize the plugin.
Roles::operators function core/modules/user/src/Plugin/views/filter/Roles.php Override empty and not empty operator labels to be clearer for user roles.
Roles::preRender function core/modules/user/src/Plugin/views/field/Roles.php Runs before any fields are rendered.
Roles::query function core/modules/user/src/Plugin/views/field/Roles.php Called to add the field to a query.
Roles::render_item function core/modules/user/src/Plugin/views/field/Roles.php Renders a single item of a row.
Roles::__construct function core/modules/user/src/Plugin/views/field/Roles.php Constructs a \Drupal\user\Plugin\views\field\Roles object.
Roles::__construct function core/modules/user/src/Plugin/views/filter/Roles.php Constructs a Roles object.
RoleSettingsForm class core/modules/user/src/Form/RoleSettingsForm.php Configure administrator role settings for this site.
RoleSettingsForm.php file core/modules/user/src/Form/RoleSettingsForm.php
RoleSettingsForm::$roleStorage property core/modules/user/src/Form/RoleSettingsForm.php The role storage used when changing the admin role.
RoleSettingsForm::buildForm function core/modules/user/src/Form/RoleSettingsForm.php Form constructor.
RoleSettingsForm::create function core/modules/user/src/Form/RoleSettingsForm.php Instantiates a new instance of this class.
RoleSettingsForm::getFormId function core/modules/user/src/Form/RoleSettingsForm.php Returns a unique string identifying the form.
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[[api-linebreak]]
@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

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