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
RoleResourceTestBase::getExpectedNormalizedEntity function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Returns the expected normalization of the entity.
RoleResourceTestBase::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Returns the normalized POST entity.
RoleResourceTestBase::setUpAuthorization function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Sets up the necessary authorization.
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.
Roles.php file core/modules/user/src/Plugin/views/field/Roles.php
Roles.php file core/modules/user/src/Plugin/views/filter/Roles.php
Roles::$database property core/modules/user/src/Plugin/views/field/Roles.php Database Service Object.
Roles::addSelfTokens function core/modules/user/src/Plugin/views/field/Roles.php Add any special tokens this field might use for itself.
Roles::calculateDependencies function core/modules/user/src/Plugin/views/filter/Roles.php Calculates dependencies for the configured plugin.
Roles::create function core/modules/user/src/Plugin/views/filter/Roles.php Instantiates a new instance of the implementing class using autowiring.
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 the implementing class using autowiring.
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::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::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 Tests Drupal\user\Plugin\views\argument\RolesRid.
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 Defines the storage handler class for user roles.
RoleStorage.php file core/modules/user/src/RoleStorage.php

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