Search for role

  1. Search 7.x for role
  2. Search 9.5.x for role
  3. Search 10.3.x for role
  4. Search 11.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
RoleAccessCheckTest::roleAccessProvider function core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php Provides data for the role access test.
RoleAccessCheckTest::testRoleAccess function core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php Tests role requirements on routes.
RoleAccessControlHandler class core/modules/user/src/RoleAccessControlHandler.php Defines the access control handler for the user role entity type.
RoleAccessControlHandler.php file core/modules/user/src/RoleAccessControlHandler.php
RoleAccessControlHandler::checkAccess function core/modules/user/src/RoleAccessControlHandler.php Performs access checks.
RoleForm class core/modules/user/src/RoleForm.php Form controller for the role entity edit forms.
RoleForm.php file core/modules/user/src/RoleForm.php
RoleForm::form function core/modules/user/src/RoleForm.php Gets the actual form array to be built.
RoleForm::save function core/modules/user/src/RoleForm.php Form submission handler for the 'save' action.
RoleHalJsonAnonTest class core/modules/user/tests/src/Functional/Hal/RoleHalJsonAnonTest.php @group hal
RoleHalJsonAnonTest.php file core/modules/user/tests/src/Functional/Hal/RoleHalJsonAnonTest.php
RoleHalJsonAnonTest::$defaultTheme property core/modules/user/tests/src/Functional/Hal/RoleHalJsonAnonTest.php The theme to install as the default for testing.
RoleHalJsonAnonTest::$format property core/modules/user/tests/src/Functional/Hal/RoleHalJsonAnonTest.php The format to use in this test.
RoleHalJsonAnonTest::$mimeType property core/modules/user/tests/src/Functional/Hal/RoleHalJsonAnonTest.php The MIME type that corresponds to $format.
RoleHalJsonAnonTest::$modules property core/modules/user/tests/src/Functional/Hal/RoleHalJsonAnonTest.php Modules to install.
RoleHalJsonBasicAuthTest class core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php @group hal
RoleHalJsonBasicAuthTest.php file core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php
RoleHalJsonBasicAuthTest::$auth property core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php The authentication mechanism to use in this test.
RoleHalJsonBasicAuthTest::$defaultTheme property core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php The theme to install as the default for testing.
RoleHalJsonBasicAuthTest::$format property core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php The format to use in this test.
RoleHalJsonBasicAuthTest::$mimeType property core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php The MIME type that corresponds to $format.
RoleHalJsonBasicAuthTest::$modules property core/modules/user/tests/src/Functional/Hal/RoleHalJsonBasicAuthTest.php Modules to install.
RoleHalJsonCookieTest class core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php @group hal
RoleHalJsonCookieTest.php file core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php
RoleHalJsonCookieTest::$auth property core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php The authentication mechanism to use in this test.
RoleHalJsonCookieTest::$defaultTheme property core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php The theme to install as the default for testing.
RoleHalJsonCookieTest::$format property core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php The format to use in this test.
RoleHalJsonCookieTest::$mimeType property core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php The MIME type that corresponds to $format.
RoleHalJsonCookieTest::$modules property core/modules/user/tests/src/Functional/Hal/RoleHalJsonCookieTest.php Modules to install.
RoleInterface interface core/modules/user/src/RoleInterface.php Provides an interface defining a user role entity.
RoleInterface.php file core/modules/user/src/RoleInterface.php
RoleInterface::ANONYMOUS_ID constant core/modules/user/src/RoleInterface.php Role ID for anonymous users; should match the 'role' entity ID.
RoleInterface::AUTHENTICATED_ID constant core/modules/user/src/RoleInterface.php Role ID for authenticated users; should match the 'role' entity ID.
RoleInterface::getPermissions function core/modules/user/src/RoleInterface.php Returns a list of permissions assigned to the role.
RoleInterface::getWeight function core/modules/user/src/RoleInterface.php Returns the weight.
RoleInterface::grantPermission function core/modules/user/src/RoleInterface.php Grant permissions to the role.
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.

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