AddRoleUser |
class |
drupal/core/modules/user/lib/Drupal/user/Plugin/Action/AddRoleUser.php |
Adds a role to a user. |
User::addRole |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/Core/Entity/User.php |
Add a role to a user. |
AddRoleUserTest |
class |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
Tests the role add plugin. |
AddRoleUser.php |
file |
drupal/core/modules/user/lib/Drupal/user/Plugin/Action/AddRoleUser.php |
Contains \Drupal\user\Plugin\Action\AddRoleUser. |
AddRoleUserTest.php |
file |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
Contains \Drupal\user\Tests\Plugin\Action\AddRoleUserTest. |
AddRoleUser::execute |
function |
drupal/core/modules/user/lib/Drupal/user/Plugin/Action/AddRoleUser.php |
Executes the plugin. |
AddRoleUserTest::setUp |
function |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
|
UserInterface::addRole |
function |
drupal/core/modules/user/lib/Drupal/user/UserInterface.php |
Add a role to a user. |
AddRoleUserTest::getInfo |
function |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
This method exists to support the simpletest UI runner. |
UserBCDecorator::addRole |
function |
drupal/core/modules/user/lib/Drupal/user/UserBCDecorator.php |
Add a role to a user. |
AddRoleUserTest::$account |
property |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
The mocked account. |
AddRoleUserTest::testExecuteAddExistingRole |
function |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
Tests the execute method on a user with a role. |
AddRoleUserTest::testExecuteAddNonExistingRole |
function |
drupal/core/modules/user/tests/Drupal/user/Tests/Plugin/Action/AddRoleUserTest.php |
Tests the execute method on a user without a specific role. |