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 |
---|---|---|---|
UserPermissionsTest::testUserRoleChangePermissions | function | core/ |
Verify proper permission changes by user_role_change_permissions(). |
UserRole | class | core/ |
Provides a 'User Role' condition. |
UserRole.php | file | core/ |
|
UserRole::buildConfigurationForm | function | core/ |
Form constructor. |
UserRole::defaultConfiguration | function | core/ |
Gets default configuration for this plugin. |
UserRole::evaluate | function | core/ |
Evaluates the condition and returns TRUE or FALSE accordingly. |
UserRole::getCacheContexts | function | core/ |
The cache contexts associated with this object. |
UserRole::submitConfigurationForm | function | core/ |
Form submission handler. |
UserRole::summary | function | core/ |
Provides a human readable summary of the condition's configuration. |
UserRoleAdminTest | class | core/ |
Tests adding, editing and deleting user roles and changing role weights. |
UserRoleAdminTest.php | file | core/ |
|
UserRoleAdminTest::$adminUser | property | core/ |
User with admin privileges. |
UserRoleAdminTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
UserRoleAdminTest::$modules | property | core/ |
Modules to enable. |
UserRoleAdminTest::setUp | function | core/ |
|
UserRoleAdminTest::testRoleAdministration | function | core/ |
Test adding, renaming and deleting roles. |
UserRoleAdminTest::testRoleWeightOrdering | function | core/ |
Test user role weight change operation and ordering. |
UserRoleConditionTest | class | core/ |
Tests the user role condition. |
UserRoleConditionTest.php | file | core/ |
|
UserRoleConditionTest::$anonymous | property | core/ |
An anonymous user for testing purposes. |
UserRoleConditionTest::$authenticated | property | core/ |
An authenticated user for testing purposes. |
UserRoleConditionTest::$manager | property | core/ |
The condition plugin manager. |
UserRoleConditionTest::$modules | property | core/ |
Modules to enable. |
UserRoleConditionTest::$role | property | core/ |
A custom role for testing purposes. |
UserRoleConditionTest::setUp | function | core/ |
|
UserRoleConditionTest::testConditions | function | core/ |
Test the user_role condition. |
UserRoleDeleteTest | class | core/ |
Tests the handling of user_role entity from the user module |
UserRoleDeleteTest.php | file | core/ |
|
UserRoleDeleteTest::$modules | property | core/ |
Modules to enable. |
UserRoleDeleteTest::setUp | function | core/ |
|
UserRoleDeleteTest::testRoleDeleteUserRoleReferenceDelete | function | core/ |
Tests removal of role references on role entity delete. |
UserRoleEntityTest | class | core/ |
@group user |
UserRoleEntityTest.php | file | core/ |
|
UserRoleEntityTest::$modules | property | core/ |
Modules to enable. |
UserRoleEntityTest::testOrderOfPermissions | function | core/ |
|
UserRolesAssignmentTest | class | core/ |
Tests that users can be assigned and unassigned roles. |
UserRolesAssignmentTest.php | file | core/ |
|
UserRolesAssignmentTest::$defaultTheme | property | core/ |
The theme to install as the default for testing. |
UserRolesAssignmentTest::setUp | function | core/ |
|
UserRolesAssignmentTest::testAssignAndRemoveRole | function | core/ |
Tests that a user can be assigned a role and that the role can be removed again. |
UserRolesAssignmentTest::testCreateUserWithRole | function | core/ |
Tests that when creating a user the role can be assigned. And that it can be removed again. |
UserRolesAssignmentTest::userLoadAndCheckRoleAssigned | function | core/ |
Check role on user object. |
UserRolesCacheContext | class | core/ |
Defines the UserRolesCacheContext service, for "per role" caching. |
UserRolesCacheContext.php | file | core/ |
|
UserRolesCacheContext::getCacheableMetadata | function | core/ |
Gets the cacheability metadata for the context based on the parameter value. |
UserRolesCacheContext::getContext | function | core/ |
Returns the string representation of the cache context. |
UserRolesCacheContext::getLabel | function | core/ |
Returns the label of the cache context. |
UserSession::$roles | property | core/ |
List of the roles this user has. |
UserSession::getRoles | function | core/ |
Returns a list of roles. |
UserSession::getRoleStorage | function | core/ |
Returns the role storage object. |
Pagination
- Previous page
- Page 8
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.