Search for all

  1. Search 7.x-2.x for all
  2. Other projects
Title Object type File name Summary
UserRoleAddTest::testAddExistingRole function tests/src/Unit/Integration/RulesAction/UserRoleAddTest.php Tests adding of existing role to user.
UserRoleAddTest::testAddOneRoleNoSave function tests/src/Unit/Integration/RulesAction/UserRoleAddTest.php Tests adding of one role to user. User should not be saved.
UserRoleAddTest::testAddThreeRoles function tests/src/Unit/Integration/RulesAction/UserRoleAddTest.php Tests adding of three roles to user.
UserRoleAddTest::testSummary function tests/src/Unit/Integration/RulesAction/UserRoleAddTest.php Tests the summary.
UserRoleRemove class src/Plugin/RulesAction/UserRoleRemove.php Provides a 'Remove user role' action.
UserRoleRemove.php file src/Plugin/RulesAction/UserRoleRemove.php
UserRoleRemove::$saveLater property src/Plugin/RulesAction/UserRoleRemove.php Flag that indicates if the entity should be auto-saved later.
UserRoleRemove::autoSaveContext function src/Plugin/RulesAction/UserRoleRemove.php Returns a list of context names that should be auto-saved after execution.
UserRoleRemove::doExecute function src/Plugin/RulesAction/UserRoleRemove.php Remove role from a user.
UserRoleRemoveTest class tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php @coversDefaultClass \Drupal\rules\Plugin\RulesAction\UserRoleRemove[[api-linebreak]]
@group RulesAction
UserRoleRemoveTest.php file tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php
UserRoleRemoveTest::$action property tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php The action that is being tested.
UserRoleRemoveTest::setUp function tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php
UserRoleRemoveTest::testRemoveExistingRoleNoSave function tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php Tests removing role from user. User should not be saved.
UserRoleRemoveTest::testRemoveNonExistingRole function tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php Tests removing non-existing role from user.
UserRoleRemoveTest::testSummary function tests/src/Unit/Integration/RulesAction/UserRoleRemoveTest.php Tests the summary.
UserUnblock class src/Plugin/RulesAction/UserUnblock.php Provides "Unblock User" action.
UserUnblock.php file src/Plugin/RulesAction/UserUnblock.php
UserUnblock::$saveLater property src/Plugin/RulesAction/UserUnblock.php Flag that indicates if the entity should be auto-saved later.
UserUnblock::autoSaveContext function src/Plugin/RulesAction/UserUnblock.php Returns a list of context names that should be auto-saved after execution.
UserUnblock::doExecute function src/Plugin/RulesAction/UserUnblock.php Unblock a user.
UserUnblockTest class tests/src/Unit/Integration/RulesAction/UserUnblockTest.php @coversDefaultClass \Drupal\rules\Plugin\RulesAction\UserUnblock[[api-linebreak]]
@group RulesAction
UserUnblockTest.php file tests/src/Unit/Integration/RulesAction/UserUnblockTest.php
UserUnblockTest::$action property tests/src/Unit/Integration/RulesAction/UserUnblockTest.php The action to be tested.
UserUnblockTest::ACTIVE constant tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Constant used for active test when mocking a user.
UserUnblockTest::ANONYMOUS constant tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Constant used for authenticated test when mocking a user.
UserUnblockTest::AUTHENTICATED constant tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Constant used for authenticated test when mocking a user.
UserUnblockTest::BLOCKED constant tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Constant used for active test when mocking a user.
UserUnblockTest::setUp function tests/src/Unit/Integration/RulesAction/UserUnblockTest.php
UserUnblockTest::testSummary function tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Test the summary method.
UserUnblockTest::testUnblockUser function tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Test execute() method for users with different status.
UserUnblockTest::userProvider function tests/src/Unit/Integration/RulesAction/UserUnblockTest.php Data provider for ::testUnblockUser.
VariableAdd class src/Plugin/RulesAction/VariableAdd.php Provides an 'Add a variable' action.
VariableAdd.php file src/Plugin/RulesAction/VariableAdd.php
VariableAdd::doExecute function src/Plugin/RulesAction/VariableAdd.php Add a variable.
VariableAdd::refineContextDefinitions function src/Plugin/RulesAction/VariableAdd.php Refines used and provided context definitions based upon context values.
VariableAddTest class tests/src/Unit/Integration/RulesAction/VariableAddTest.php @coversDefaultClass \Drupal\rules\Plugin\RulesAction\VariableAdd[[api-linebreak]]
@group RulesAction
VariableAddTest.php file tests/src/Unit/Integration/RulesAction/VariableAddTest.php
VariableAddTest::testExecute function tests/src/Unit/Integration/RulesAction/VariableAddTest.php Test the action execution.
ViewEditOptions class src/TypedData/Options/ViewEditOptions.php Options provider for the types of field access to check for.
ViewEditOptions.php file src/TypedData/Options/ViewEditOptions.php
ViewEditOptions::getPossibleOptions function src/TypedData/Options/ViewEditOptions.php Returns an array of possible values with labels for display.
YesNoOptions class src/TypedData/Options/YesNoOptions.php Options provider to return a Yes / No choice.
YesNoOptions.php file src/TypedData/Options/YesNoOptions.php
YesNoOptions::getPossibleOptions function src/TypedData/Options/YesNoOptions.php Returns an array of possible values with labels for display.