| Role::fields |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Returns available fields on the source. |
| Role::getAllValidPermissions |
function |
core/modules/user/src/Entity/Role.php |
Returns all valid permissions. |
| Role::getCacheContexts |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The cache contexts associated with this object. |
| Role::getCacheMaxAge |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The maximum age for which this object may be cached. |
| Role::getCacheTags |
function |
core/modules/user/src/Plugin/views/access/Role.php |
The cache tags associated with this object. |
| Role::getIds |
function |
core/modules/user/src/Plugin/migrate/source/d7/Role.php |
Defines the source fields uniquely identifying a source row. |
| Role::getIds |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Defines the source fields uniquely identifying a source row. |
| Role::getPermissions |
function |
core/modules/user/src/Entity/Role.php |
Returns a list of permissions assigned to the role. |
| Role::getWeight |
function |
core/modules/user/src/Entity/Role.php |
Returns the weight. |
| Role::grantPermission |
function |
core/modules/user/src/Entity/Role.php |
#[ActionMethod(adminLabel: new TranslatableMarkup('Add permission to role'))] |
| 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/d7/Role.php |
Adds additional data to the row. |
| Role::prepareRow |
function |
core/modules/user/src/Plugin/migrate/source/d6/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/d7/Role.php |
Prepares query object to retrieve data from the source database. |
| Role::query |
function |
core/modules/user/src/Plugin/migrate/source/d6/Role.php |
Prepares query object to retrieve data from the source database. |
| 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 |
Tests Drupal\user\Access\RoleAccessCheck. |
| 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. |
| RoleExistsConstraint |
class |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraint.php |
Checks if a role exists. |
| RoleExistsConstraint.php |
file |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraint.php |
|
| RoleExistsConstraint::__construct |
function |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraint.php |
#[HasNamedArguments] |
| RoleExistsConstraintValidator |
class |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php |
Validates that a role exists. |
| RoleExistsConstraintValidator.php |
file |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php |
|
| RoleExistsConstraintValidator::create |
function |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php |
Instantiates a new instance of this class. |
| RoleExistsConstraintValidator::validate |
function |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php |
|
| RoleExistsConstraintValidator::__construct |
function |
core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php |
Create a new RoleExistsConstraintValidator instance. |
| RoleExistsConstraintValidatorTest |
class |
core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php |
Tests Role Exists Constraint Validator. |
| RoleExistsConstraintValidatorTest.php |
file |
core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php |
|
| RoleExistsConstraintValidatorTest::$modules |
property |
core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php |
Modules to install. |
| RoleExistsConstraintValidatorTest::testRoleExists |
function |
core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php |
Tests when the constraint's entityTypeId value is not valid. |
| RoleExistsConstraintValidatorTest::testValueMustBeAString |
function |
core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php |
Tests that the constraint validator will only work with strings. |