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 |
---|---|---|---|
UserEntityReferenceTest::testUserSelectionByRole | function | core/ |
Tests user selection by roles. |
UserInterface::addRole | function | core/ |
Add a role to a user. |
UserInterface::hasRole | function | core/ |
Whether a user has a certain role. |
UserInterface::removeRole | function | core/ |
Remove a role from a user. |
UserKernelTestBase::$roleStorage | property | core/ |
The entity storage for roles. |
UserPermissionsForm::$roleStorage | property | core/ |
The role storage. |
UserPermissionsForm::getRoles | function | core/ |
Gets the roles to display in this form. |
UserPermissionsRoleSpecificForm | class | core/ |
Provides the user permissions administration form for a specific role. |
UserPermissionsRoleSpecificForm.php | file | core/ |
|
UserPermissionsRoleSpecificForm::$userRole | property | core/ |
The specific role for this form. |
UserPermissionsRoleSpecificForm::buildForm | function | core/ |
Builds the user permissions administration form for a specific role. |
UserPermissionsRoleSpecificForm::getRoles | function | core/ |
Gets the roles to display in this form. |
UserPermissionsTest::testAdministratorRole | function | core/ |
Tests assigning of permissions for the administrator role. |
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/ |
|
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/ |
Tests adding, renaming and deleting roles. |
UserRoleAdminTest::testRoleWeightOrdering | function | core/ |
Tests 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/ |
Tests the user_role condition. |
UserRoleConditionTest::testLegacy | function | core/ |
@group legacy |
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::testDependenciesRemoval | function | core/ |
Tests the removal of user role dependencies. |
UserRoleDeleteTest::testRoleDeleteUserRoleReferenceDelete | function | core/ |
Tests removal of role references on role entity delete. |
UserRoleEntityTest | class | core/ |
@group user @coversDefaultClass \Drupal\user\Entity\Role |
UserRoleEntityTest.php | file | core/ |
|
UserRoleEntityTest::$modules | property | core/ |
Modules to enable. |
UserRoleEntityTest::testGrantingNonExistentPermission | function | core/ |
@group legacy |
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.