Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
Role::hasPermission function core/modules/user/src/Entity/Role.php Checks if the role has a permission.
Role::initializeIterator function core/modules/user/src/Plugin/migrate/source/d6/Role.php Initializes the iterator with the source data.
Role::isAdmin function core/modules/user/src/Entity/Role.php Indicates that a role has all available permissions.
Role::onDependencyRemoval function core/modules/user/src/Entity/Role.php Informs the entity that entities it depends on will be deleted.
Role::postLoad function core/modules/user/src/Entity/Role.php Acts on loaded entities.
Role::prepareRow function core/modules/user/src/Plugin/migrate/source/d6/Role.php Adds additional data to the row.
Role::prepareRow function core/modules/user/src/Plugin/migrate/source/d7/Role.php Adds additional data to the row.
Role::preSave function core/modules/user/src/Entity/Role.php Acts on an entity before the presave hook is invoked.
Role::query function core/modules/user/src/Plugin/migrate/source/d6/Role.php
Role::query function core/modules/user/src/Plugin/migrate/source/d7/Role.php
Role::revokePermission function core/modules/user/src/Entity/Role.php Revokes a permissions from the user role.
Role::setIsAdmin function core/modules/user/src/Entity/Role.php Sets the role to be an admin role.
Role::setWeight function core/modules/user/src/Entity/Role.php Sets the weight to the given value.
Role::summaryTitle function core/modules/user/src/Plugin/views/access/Role.php Returns the summary of the settings in the display.
Role::validateOptionsForm function core/modules/user/src/Plugin/views/access/Role.php Validate the options form.
Role::__construct function core/modules/user/src/Plugin/views/access/Role.php Constructs a Role object.
RoleAccessCheck class core/modules/user/src/Access/RoleAccessCheck.php Determines access to routes based on roles.
RoleAccessCheck.php file core/modules/user/src/Access/RoleAccessCheck.php
RoleAccessCheck::access function core/modules/user/src/Access/RoleAccessCheck.php Checks access.
RoleAccessCheckTest class core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php @coversDefaultClass \Drupal\user\Access\RoleAccessCheck[[api-linebreak]]
@group Access
@group Route
RoleAccessCheckTest.php file core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php
RoleAccessCheckTest::getTestRouteCollection function core/tests/Drupal/Tests/Core/Route/RoleAccessCheckTest.php Generates the test route collection.
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/hal/tests/src/Functional/user/RoleHalJsonAnonTest.php @group hal
@group legacy
RoleHalJsonAnonTest.php file core/modules/hal/tests/src/Functional/user/RoleHalJsonAnonTest.php
RoleHalJsonAnonTest::$defaultTheme property core/modules/hal/tests/src/Functional/user/RoleHalJsonAnonTest.php The theme to install as the default for testing.
RoleHalJsonAnonTest::$format property core/modules/hal/tests/src/Functional/user/RoleHalJsonAnonTest.php The format to use in this test.
RoleHalJsonAnonTest::$mimeType property core/modules/hal/tests/src/Functional/user/RoleHalJsonAnonTest.php The MIME type that corresponds to $format.
RoleHalJsonAnonTest::$modules property core/modules/hal/tests/src/Functional/user/RoleHalJsonAnonTest.php Modules to install.
RoleHalJsonBasicAuthTest class core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php @group hal
@group legacy
RoleHalJsonBasicAuthTest.php file core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php
RoleHalJsonBasicAuthTest::$auth property core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php The authentication mechanism to use in this test.
RoleHalJsonBasicAuthTest::$defaultTheme property core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php The theme to install as the default for testing.
RoleHalJsonBasicAuthTest::$format property core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php The format to use in this test.
RoleHalJsonBasicAuthTest::$mimeType property core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php The MIME type that corresponds to $format.
RoleHalJsonBasicAuthTest::$modules property core/modules/hal/tests/src/Functional/user/RoleHalJsonBasicAuthTest.php Modules to install.
RoleHalJsonCookieTest class core/modules/hal/tests/src/Functional/user/RoleHalJsonCookieTest.php @group hal
@group legacy
RoleHalJsonCookieTest.php file core/modules/hal/tests/src/Functional/user/RoleHalJsonCookieTest.php
RoleHalJsonCookieTest::$auth property core/modules/hal/tests/src/Functional/user/RoleHalJsonCookieTest.php The authentication mechanism to use in this test.
RoleHalJsonCookieTest::$defaultTheme property core/modules/hal/tests/src/Functional/user/RoleHalJsonCookieTest.php The theme to install as the default for testing.
RoleHalJsonCookieTest::$format property core/modules/hal/tests/src/Functional/user/RoleHalJsonCookieTest.php The format to use in this test.
RoleHalJsonCookieTest::$mimeType property core/modules/hal/tests/src/Functional/user/RoleHalJsonCookieTest.php The MIME type that corresponds to $format.

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