Search for rule

  1. Search 7.x-2.x for rule
  2. Other projects
Title Object type File name Summary
RulesEngineTest.php file tests/src/Kernel/RulesEngineTest.php
RulesEngineTest::setUp function tests/src/Kernel/RulesEngineTest.php
RulesEngineTest::testActionProvidedContext function tests/src/Kernel/RulesEngineTest.php Tests that multiple actions can consume and provide context variables.
RulesEngineTest::testContextPassing function tests/src/Kernel/RulesEngineTest.php Tests passing a string context to a condition.
RulesEngineTest::testProvidedVariables function tests/src/Kernel/RulesEngineTest.php Tests that a condition can provide a value and another one can consume it.
RulesEngineTest::testRenamingOfProvidedVariables function tests/src/Kernel/RulesEngineTest.php Tests that provided variables can be renamed with configuration.
RulesEngineTest::testRuleCreation function tests/src/Kernel/RulesEngineTest.php Tests creating a rule and iterating over the rule elements.
RulesEngineTest::testSwappedCoreServices function tests/src/Kernel/RulesEngineTest.php Verifies swapping out core services works.
RulesEntityIntegrationTestBase class tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php Base class for Rules integration tests with entities.
RulesEntityIntegrationTestBase.php file tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php
RulesEntityIntegrationTestBase::$entityAccess property tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php The mocked entity access handler.
RulesEntityIntegrationTestBase::$fieldTypeManager property tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php The field type manager.
RulesEntityIntegrationTestBase::$languageManager property tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php The language manager mock.
RulesEntityIntegrationTestBase::getContextDefinitionFor function tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php Helper to mock a context definition with a mocked data definition.
RulesEntityIntegrationTestBase::setUp function tests/src/Unit/Integration/RulesEntityIntegrationTestBase.php
RulesEventDispatcherTestCase class d7-tests/rules_test_event_dispatcher_case.test Test event dispatcher functionality.
RulesEventDispatcherTestCase::getInfo function d7-tests/rules_test_event_dispatcher_case.test
RulesEventDispatcherTestCase::setUp function d7-tests/rules_test_event_dispatcher_case.test
RulesEventDispatcherTestCase::testStartAndStop function d7-tests/rules_test_event_dispatcher_case.test Tests start and stop functionality.
RulesEventDispatcherTestCase::testStartAndStopMultiple function d7-tests/rules_test_event_dispatcher_case.test Tests start and stop functionality when used with multiple events.
RulesEventHandlerInterface interface src/Core/RulesEventHandlerInterface.php Interface for Rules event handlers.
RulesEventHandlerInterface.php file src/Core/RulesEventHandlerInterface.php
RulesEventHandlerInterface::getContextDefinition function src/Core/RulesEventHandlerInterface.php Gets a specific context definition of the plugin.
RulesEventHandlerInterface::getContextDefinitions function src/Core/RulesEventHandlerInterface.php Gets the context definitions of the event.
RulesEventManager class src/Core/RulesEventManager.php Plugin manager for Rules events that can be triggered.
RulesEventManager.php file src/Core/RulesEventManager.php
RulesEventManager::$defaults property src/Core/RulesEventManager.php Provides some default values for the definition of all Rules event plugins.
RulesEventManager::$entityBundleInfo property src/Core/RulesEventManager.php The entity type bundle information manager.
RulesEventManager::createInstance function src/Core/RulesEventManager.php
RulesEventManager::getDefinition function src/Core/RulesEventManager.php
RulesEventManager::getEventBaseName function src/Core/RulesEventManager.php Gets the base name of a configured event name.
RulesEventManager::processDefinition function src/Core/RulesEventManager.php Performs extra processing on plugin definitions.
RulesEventManager::__construct function src/Core/RulesEventManager.php Constructor.
RulesException class src/Exception/RulesException.php A common exception for Rules.
RulesException.php file src/Exception/RulesException.php
RulesExpression class src/Annotation/RulesExpression.php Defines the RulesExpression annotation class.
RulesExpression.php file src/Annotation/RulesExpression.php
RulesExpression::$form_class property src/Annotation/RulesExpression.php The class name of the form for displaying/editing this expression.
RulesExpression::$id property src/Annotation/RulesExpression.php The plugin ID.
RulesExpression::$label property src/Annotation/RulesExpression.php The human-readable name of the rules plugin.
RulesIntegrationTestBase class tests/src/Unit/Integration/RulesIntegrationTestBase.php Base class for Rules integration tests.
RulesIntegrationTestBase.php file tests/src/Unit/Integration/RulesIntegrationTestBase.php
RulesIntegrationTestBase::$actionManager property tests/src/Unit/Integration/RulesIntegrationTestBase.php
RulesIntegrationTestBase::$cacheBackend property tests/src/Unit/Integration/RulesIntegrationTestBase.php
RulesIntegrationTestBase::$classResolver property tests/src/Unit/Integration/RulesIntegrationTestBase.php The class resolver mock for the typed data manager.
RulesIntegrationTestBase::$conditionManager property tests/src/Unit/Integration/RulesIntegrationTestBase.php
RulesIntegrationTestBase::$container property tests/src/Unit/Integration/RulesIntegrationTestBase.php The Drupal service container.
RulesIntegrationTestBase::$dataFetcher property tests/src/Unit/Integration/RulesIntegrationTestBase.php The data fetcher service.
RulesIntegrationTestBase::$dataFilterManager property tests/src/Unit/Integration/RulesIntegrationTestBase.php The data filter manager.
RulesIntegrationTestBase::$enabledModules property tests/src/Unit/Integration/RulesIntegrationTestBase.php Array object keyed with module names and TRUE as value.