Search for all

  1. Search 7.x-2.x for all
  2. Other projects
Title Object type File name Summary
UiPageTest::testCancelExpressionInRule function tests/src/Functional/UiPageTest.php Tests that cancelling an expression from a rule works.
UiPageTest::testCreateReactionRule function tests/src/Functional/UiPageTest.php Tests that creating a reaction rule works.
UiPageTest::testDeleteEvent function tests/src/Functional/UiPageTest.php Tests that an event can be deleted.
UiPageTest::testDeleteExpressionInRule function tests/src/Functional/UiPageTest.php Tests that deleting an expression from a rule works.
UiPageTest::testMultipleContextAction function tests/src/Functional/UiPageTest.php Tests that an action with a 'multiple' context can be configured.
UiPageTest::testNegatedCondition function tests/src/Functional/UiPageTest.php Tests that a negated condition has NOT prefixed to its label.
UiPageTest::testNoContextCondition function tests/src/Functional/UiPageTest.php Tests that a condition with no context can be configured.
UiPageTest::testNoDeleteEventWhenRulesHasSingleEvent function tests/src/Functional/UiPageTest.php Tests that events cannot be deleted when there is only one event.
UiPageTest::testReactionRulePage function tests/src/Functional/UiPageTest.php Tests that the reaction rule listing page is reachable.
UiPageTest::testRuleStatusOperations function tests/src/Functional/UiPageTest.php Tests that enabling and disabling a rule works.
UnBanIp class src/Plugin/RulesAction/UnBanIp.php Provides the 'Remove the ban on an IP address' action.
UnBanIp.php file src/Plugin/RulesAction/UnBanIp.php
UnBanIp::doExecute function src/Plugin/RulesAction/UnBanIp.php Executes the UnBanIP action with the given context.
UnBanIpTest class tests/src/Unit/Integration/RulesAction/UnBanIpTest.php @coversDefaultClass \Drupal\rules\Plugin\RulesAction\UnBanIp[[api-linebreak]]
@group RulesAction
UnBanIpTest.php file tests/src/Unit/Integration/RulesAction/UnBanIpTest.php
UnBanIpTest::$action property tests/src/Unit/Integration/RulesAction/UnBanIpTest.php The action to be tested.
UnBanIpTest::$banManager property tests/src/Unit/Integration/RulesAction/UnBanIpTest.php
UnBanIpTest::$logger property tests/src/Unit/Integration/RulesAction/UnBanIpTest.php
UnBanIpTest::$request property tests/src/Unit/Integration/RulesAction/UnBanIpTest.php
UnBanIpTest::$requestStack property tests/src/Unit/Integration/RulesAction/UnBanIpTest.php
UnBanIpTest::setUp function tests/src/Unit/Integration/RulesAction/UnBanIpTest.php
UnBanIpTest::testActionExecutionWithContextIpv4 function tests/src/Unit/Integration/RulesAction/UnBanIpTest.php Tests the action execution with Context IPv4.
UnBanIpTest::testActionExecutionWithContextIpv6 function tests/src/Unit/Integration/RulesAction/UnBanIpTest.php Tests the action execution with Context IPv6.
UnBanIpTest::testActionExecutionWithoutContextIp function tests/src/Unit/Integration/RulesAction/UnBanIpTest.php Tests the action execution without Context IP set.
UnBanIpTest::testSummary function tests/src/Unit/Integration/RulesAction/UnBanIpTest.php Tests the summary.
UserBlock class src/Plugin/RulesAction/UserBlock.php Provides "Block User" action.
UserBlock.php file src/Plugin/RulesAction/UserBlock.php
UserBlock::$saveLater property src/Plugin/RulesAction/UserBlock.php Flag that indicates if the entity should be auto-saved later.
UserBlock::$sessionManager property src/Plugin/RulesAction/UserBlock.php Session manager.
UserBlock::autoSaveContext function src/Plugin/RulesAction/UserBlock.php Returns a list of context names that should be auto-saved after execution.
UserBlock::create function src/Plugin/RulesAction/UserBlock.php Creates an instance of the plugin.
UserBlock::doExecute function src/Plugin/RulesAction/UserBlock.php Block a user.
UserBlock::__construct function src/Plugin/RulesAction/UserBlock.php Constructs a UserBlock object.
UserBlockTest class tests/src/Unit/Integration/RulesAction/UserBlockTest.php @coversDefaultClass \Drupal\rules\Plugin\RulesAction\UserBlock[[api-linebreak]]
@group RulesAction
UserBlockTest.php file tests/src/Unit/Integration/RulesAction/UserBlockTest.php
UserBlockTest::$action property tests/src/Unit/Integration/RulesAction/UserBlockTest.php The action to be tested.
UserBlockTest::$sessionManager property tests/src/Unit/Integration/RulesAction/UserBlockTest.php The mocked session manager.
UserBlockTest::ACTIVE constant tests/src/Unit/Integration/RulesAction/UserBlockTest.php Constant used for active test when mocking a user.
UserBlockTest::ANONYMOUS constant tests/src/Unit/Integration/RulesAction/UserBlockTest.php Constant used for authenticated test when mocking a user.
UserBlockTest::AUTHENTICATED constant tests/src/Unit/Integration/RulesAction/UserBlockTest.php Constant used for authenticated test when mocking a user.
UserBlockTest::BLOCKED constant tests/src/Unit/Integration/RulesAction/UserBlockTest.php Constant used for active test when mocking a user.
UserBlockTest::getUserMock function tests/src/Unit/Integration/RulesAction/UserBlockTest.php Creates a mock user.
UserBlockTest::setUp function tests/src/Unit/Integration/RulesAction/UserBlockTest.php
UserBlockTest::testBlockUserWithActiveAnonymousUser function tests/src/Unit/Integration/RulesAction/UserBlockTest.php Test execute() method for active and anonymous users.
UserBlockTest::testBlockUserWithBlockedAnonymousUser function tests/src/Unit/Integration/RulesAction/UserBlockTest.php Test execute() method for blocked and anonymous users.
UserBlockTest::testBlockUserWithBlockedAuthenticatedUser function tests/src/Unit/Integration/RulesAction/UserBlockTest.php Test execute() method for blocked and authenticated users.
UserBlockTest::testBlockUserWithValidUser function tests/src/Unit/Integration/RulesAction/UserBlockTest.php Test execute() method for active and authenticated users.
UserBlockTest::testSummary function tests/src/Unit/Integration/RulesAction/UserBlockTest.php Test the summary method.
UserHasEntityFieldAccess class src/Plugin/Condition/UserHasEntityFieldAccess.php Provides a 'User has entity field access' condition.
UserHasEntityFieldAccess.php file src/Plugin/Condition/UserHasEntityFieldAccess.php