Search for removeRole
- Search 7.x for removeRole
- Search 9.5.x for removeRole
- Search 8.9.x for removeRole
- Search 11.x for removeRole
- Other projects
Title | Object type | File name | Summary |
---|---|---|---|
RemoveRoleUser | class | core/ |
Removes a role from a user. |
RemoveRoleUser.php | file | core/ |
|
RemoveRoleUser::execute | function | core/ |
Executes the plugin. |
RemoveRoleUserTest | class | core/ |
@coversDefaultClass \Drupal\user\Plugin\Action\RemoveRoleUser @group user |
RemoveRoleUserTest.php | file | core/ |
|
RemoveRoleUserTest::testExecuteRemoveExistingRole | function | core/ |
Tests the execute method on a user with a role. |
RemoveRoleUserTest::testExecuteRemoveNonExistingRole | function | core/ |
Tests the execute method on a user without a specific role. |
User::removeRole | function | core/ |
Remove a role from a user. |
UserInterface::removeRole | function | core/ |
Remove a role from a user. |
UserRolesAssignmentTest::testAssignAndRemoveRole | function | core/ |
Test that user can be assigned role and that the role can be removed again. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.