Search for role
Exact matches
Title | Object type | File name | Summary |
---|---|---|---|
Role | class | core/ |
Defines the user role entity class. |
Role | class | core/ |
Access plugin that provides role-based access control. |
Role | class | core/ |
Drupal 6 role source from database. |
Role | class | core/ |
Drupal 7 role source from database. |
All search results
Title | Object type | File name | Summary |
---|---|---|---|
Role::initializeIterator | function | core/ |
Initializes the iterator with the source data. |
Role::isAdmin | function | core/ |
Indicates that a role has all available permissions. |
Role::onDependencyRemoval | function | core/ |
Informs the entity that entities it depends on will be deleted. |
Role::postLoad | function | core/ |
Acts on loaded entities. |
Role::prepareRow | function | core/ |
Adds additional data to the row. |
Role::prepareRow | function | core/ |
Adds additional data to the row. |
Role::preSave | function | core/ |
Acts on an entity before the presave hook is invoked. |
Role::query | function | core/ |
Prepares query object to retrieve data from the source database. |
Role::query | function | core/ |
Prepares query object to retrieve data from the source database. |
Role::revokePermission | function | core/ |
Revokes a permissions from the user role. |
Role::setIsAdmin | function | core/ |
Sets the role to be an admin role. |
Role::setWeight | function | core/ |
Sets the weight to the given value. |
Role::summaryTitle | function | core/ |
Returns the summary of the settings in the display. |
Role::validateOptionsForm | function | core/ |
Validate the options form. |
Role::__construct | function | core/ |
Constructs a Role object. |
RoleAccessCheck | class | core/ |
Determines access to routes based on roles. |
RoleAccessCheck.php | file | core/ |
|
RoleAccessCheck::access | function | core/ |
Checks access. |
RoleAccessCheckTest | class | core/ |
@coversDefaultClass \Drupal\user\Access\RoleAccessCheck[[api-linebreak]] @group Access @group Route |
RoleAccessCheckTest.php | file | core/ |
|
RoleAccessCheckTest::getTestRouteCollection | function | core/ |
Generates the test route collection. |
RoleAccessCheckTest::roleAccessProvider | function | core/ |
Provides data for the role access test. |
RoleAccessCheckTest::testRoleAccess | function | core/ |
Tests role requirements on routes. |
RoleAccessControlHandler | class | core/ |
Defines the access control handler for the user role entity type. |
RoleAccessControlHandler.php | file | core/ |
|
RoleAccessControlHandler::checkAccess | function | core/ |
Performs access checks. |
RoleExistsConstraint | class | core/ |
Checks if a role exists. |
RoleExistsConstraint.php | file | core/ |
|
RoleExistsConstraint::$message | property | core/ |
The error message if validation fails. |
RoleExistsConstraintValidator | class | core/ |
Validates that a role exists. |
RoleExistsConstraintValidator.php | file | core/ |
|
RoleExistsConstraintValidator::create | function | core/ |
Instantiates a new instance of this class. |
RoleExistsConstraintValidator::validate | function | core/ |
|
RoleExistsConstraintValidator::__construct | function | core/ |
Create a new RoleExistsConstraintValidator instance. |
RoleExistsConstraintValidatorTest | class | core/ |
@group user @group Validation |
RoleExistsConstraintValidatorTest.php | file | core/ |
|
RoleExistsConstraintValidatorTest::$modules | property | core/ |
Modules to install. |
RoleExistsConstraintValidatorTest::testRoleExists | function | core/ |
Tests when the constraint's entityTypeId value is not valid. |
RoleExistsConstraintValidatorTest::testValueMustBeAString | function | core/ |
Tests that the constraint validator will only work with strings. |
RoleForm | class | core/ |
Form controller for the role entity edit forms. |
RoleForm.php | file | core/ |
|
RoleForm::form | function | core/ |
Gets the actual form array to be built. |
RoleForm::save | function | core/ |
Form submission handler for the 'save' action. |
RoleInterface | interface | core/ |
Provides an interface defining a user role entity. |
RoleInterface.php | file | core/ |
|
RoleInterface::ANONYMOUS_ID | constant | core/ |
Role ID for anonymous users; should match the 'role' entity ID. |
RoleInterface::AUTHENTICATED_ID | constant | core/ |
Role ID for authenticated users; should match the 'role' entity ID. |
RoleInterface::getPermissions | function | core/ |
Returns a list of permissions assigned to the role. |
RoleInterface::getWeight | function | core/ |
Returns the weight. |
RoleInterface::grantPermission | function | core/ |
Grant permissions to the role. |
Pagination
- Previous page
- Page 4
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.