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
RoleInterface::hasPermission function core/modules/user/src/RoleInterface.php Checks if the role has a permission.
RoleInterface::isAdmin function core/modules/user/src/RoleInterface.php Indicates that a role has all available permissions.
RoleInterface::revokePermission function core/modules/user/src/RoleInterface.php Revokes a permissions from the user role.
RoleInterface::setIsAdmin function core/modules/user/src/RoleInterface.php Sets the role to be an admin role.
RoleInterface::setWeight function core/modules/user/src/RoleInterface.php Sets the weight to the given value.
RoleJsonAnonTest class core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php @group rest
RoleJsonAnonTest.php file core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php
RoleJsonAnonTest::$defaultTheme property core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php The theme to install as the default for testing.
RoleJsonAnonTest::$format property core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php The format to use in this test.
RoleJsonAnonTest::$mimeType property core/modules/user/tests/src/Functional/Rest/RoleJsonAnonTest.php The MIME type that corresponds to $format.
RoleJsonBasicAuthTest class core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php @group rest
RoleJsonBasicAuthTest.php file core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php
RoleJsonBasicAuthTest::$auth property core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php The authentication mechanism to use in this test.
RoleJsonBasicAuthTest::$defaultTheme property core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php The theme to install as the default for testing.
RoleJsonBasicAuthTest::$format property core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php The format to use in this test.
RoleJsonBasicAuthTest::$mimeType property core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php The MIME type that corresponds to $format.
RoleJsonBasicAuthTest::$modules property core/modules/user/tests/src/Functional/Rest/RoleJsonBasicAuthTest.php Modules to install.
RoleJsonCookieTest class core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php @group rest
RoleJsonCookieTest.php file core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php
RoleJsonCookieTest::$auth property core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php The authentication mechanism to use in this test.
RoleJsonCookieTest::$defaultTheme property core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php The theme to install as the default for testing.
RoleJsonCookieTest::$format property core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php The format to use in this test.
RoleJsonCookieTest::$mimeType property core/modules/user/tests/src/Functional/Rest/RoleJsonCookieTest.php The MIME type that corresponds to $format.
RoleListBuilder class core/modules/user/src/RoleListBuilder.php Defines a class to build a listing of user role entities.
RoleListBuilder.php file core/modules/user/src/RoleListBuilder.php
RoleListBuilder::$messenger property core/modules/user/src/RoleListBuilder.php The messenger.
RoleListBuilder::buildHeader function core/modules/user/src/RoleListBuilder.php Builds the header row for the entity listing.
RoleListBuilder::buildRow function core/modules/user/src/RoleListBuilder.php Builds a row for an entity in the entity listing.
RoleListBuilder::createInstance function core/modules/user/src/RoleListBuilder.php Instantiates a new instance of this entity handler.
RoleListBuilder::getDefaultOperations function core/modules/user/src/RoleListBuilder.php Gets this list's default operations.
RoleListBuilder::getFormId function core/modules/user/src/RoleListBuilder.php Returns a unique string identifying the form.
RoleListBuilder::submitForm function core/modules/user/src/RoleListBuilder.php Form submission handler.
RoleListBuilder::__construct function core/modules/user/src/RoleListBuilder.php RoleListBuilder constructor.
RoleResourceTestBase class core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Resource test base for the UserRole entity.
RoleResourceTestBase.php file core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
RoleResourceTestBase::$entity property core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php
RoleResourceTestBase::$entityTypeId property core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php The tested entity type.
RoleResourceTestBase::$modules property core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Modules to install.
RoleResourceTestBase::createEntity function core/modules/user/tests/src/Functional/Rest/RoleResourceTestBase.php Creates the entity to be tested.
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/field/Roles.php Creates an instance of the plugin.

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