RulesComponentRepository::$resolvers |
property |
src/Engine/RulesComponentRepository.php |
Array of component resolvers, keyed by provider. |
RulesComponentRepository::addComponentResolver |
function |
src/Engine/RulesComponentRepository.php |
Adds a component resolver. |
RulesComponentRepository::get |
function |
src/Engine/RulesComponentRepository.php |
Gets the component for the given ID. |
RulesComponentRepository::getMultiple |
function |
src/Engine/RulesComponentRepository.php |
Gets the components for the given IDs. |
RulesComponentRepository::__construct |
function |
src/Engine/RulesComponentRepository.php |
Constructs the object. |
RulesComponentRepositoryInterface |
interface |
src/Engine/RulesComponentRepositoryInterface.php |
Interface for the component repository. |
RulesComponentRepositoryInterface.php |
file |
src/Engine/RulesComponentRepositoryInterface.php |
|
RulesComponentRepositoryInterface::addComponentResolver |
function |
src/Engine/RulesComponentRepositoryInterface.php |
Adds a component resolver. |
RulesComponentRepositoryInterface::get |
function |
src/Engine/RulesComponentRepositoryInterface.php |
Gets the component for the given ID. |
RulesComponentRepositoryInterface::getMultiple |
function |
src/Engine/RulesComponentRepositoryInterface.php |
Gets the components for the given IDs. |
RulesComponentResolverInterface |
interface |
src/Engine/RulesComponentResolverInterface.php |
Interface for rules component resolvers. |
RulesComponentResolverInterface.php |
file |
src/Engine/RulesComponentResolverInterface.php |
|
RulesComponentResolverInterface::getMultiple |
function |
src/Engine/RulesComponentResolverInterface.php |
Gets multiple components. |
RulesComponentTest |
class |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
Tests the Rules component class. |
RulesComponentTest.php |
file |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
|
RulesComponentTest::testGetContextDefinitions |
function |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
@covers ::getContextDefinitions |
RulesComponentTest::testGetExpression |
function |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
@covers ::getExpression |
RulesComponentTest::testGetProvidedContext |
function |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
@covers ::getProvidedContext |
RulesComponentTest::testGetState |
function |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
@covers ::getState |
RulesComponentTest::testRuleExecutionWithContext |
function |
tests/src/Unit/Integration/Engine/RulesComponentTest.php |
Tests executing a rule providing context based upon given context. |
RulesConditionBase |
class |
src/Core/RulesConditionBase.php |
Base class for rules conditions. |
RulesConditionBase.php |
file |
src/Core/RulesConditionBase.php |
|
RulesConditionBase::assertMetadata |
function |
src/Core/RulesConditionBase.php |
Asserts additional metadata for the selected data. |
RulesConditionBase::evaluate |
function |
src/Core/RulesConditionBase.php |
Evaluates the condition and returns TRUE or FALSE accordingly. |
RulesConditionBase::getContextValue |
function |
src/Core/RulesConditionBase.php |
Gets the value for a defined context. |
RulesConditionBase::negate |
function |
src/Core/RulesConditionBase.php |
Negates the result after evaluating this condition. |
RulesConditionBase::refineContextDefinitions |
function |
src/Core/RulesConditionBase.php |
Refines used and provided context definitions based upon context values. |
RulesConditionContainerTest |
class |
tests/src/Unit/RulesConditionContainerTest.php |
@coversDefaultClass \Drupal\rules\Engine\ConditionExpressionContainer
@group Rules |
RulesConditionContainerTest.php |
file |
tests/src/Unit/RulesConditionContainerTest.php |
|
RulesConditionContainerTest::getMockConditionContainer |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Creates a mocked condition container. |
RulesConditionContainerTest::testAddExpressionObject |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests adding conditions to the condition container. |
RulesConditionContainerTest::testDeletingCondition |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests deleting a condition from the container. |
RulesConditionContainerTest::testDeletingNestedCondition |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests deleting a nested condition from the container. |
RulesConditionContainerTest::testExecute |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests executing the condition container. |
RulesConditionContainerTest::testLookupExpression |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests that an expression can be retrieved by UUID. |
RulesConditionContainerTest::testLookupNestedExpression |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests that a nested expression can be retrieved by UUID. |
RulesConditionContainerTest::testNegate |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Tests negating the result of the condition container. |
RulesConditionContainerTestStub |
class |
tests/src/Unit/RulesConditionContainerTest.php |
Class used for overriding evaluate() as this does not work with PHPunit. |
RulesConditionContainerTestStub::evaluate |
function |
tests/src/Unit/RulesConditionContainerTest.php |
Returns the final result after executing the conditions. |
RulesConditionInterface |
interface |
src/Core/RulesConditionInterface.php |
Extends the core ConditionInterface to provide a negate() method. |
RulesConditionInterface.php |
file |
src/Core/RulesConditionInterface.php |
|
RulesConditionInterface::negate |
function |
src/Core/RulesConditionInterface.php |
Negates the result after evaluating this condition. |
RulesConfigurableEventHandlerInterface |
interface |
src/Core/RulesConfigurableEventHandlerInterface.php |
Interface for handling configurable rules events. |
RulesConfigurableEventHandlerInterface.php |
file |
src/Core/RulesConfigurableEventHandlerInterface.php |
|
RulesConfigurableEventHandlerInterface::buildConfigurationForm |
function |
src/Core/RulesConfigurableEventHandlerInterface.php |
Builds the event configuration form. |
RulesConfigurableEventHandlerInterface::determineQualifiedEvents |
function |
src/Core/RulesConfigurableEventHandlerInterface.php |
Determines the qualified event names for the dispatched event. |
RulesConfigurableEventHandlerInterface::extractConfigurationFormValues |
function |
src/Core/RulesConfigurableEventHandlerInterface.php |
Extract the form values and update the event configuration. |
RulesConfigurableEventHandlerInterface::getEventNameSuffix |
function |
src/Core/RulesConfigurableEventHandlerInterface.php |
Provides the event name suffix based upon the plugin configuration. |
RulesConfigurableEventHandlerInterface::refineContextDefinitions |
function |
src/Core/RulesConfigurableEventHandlerInterface.php |
Refines provided context definitions based upon plugin configuration. |
RulesConfigurableEventHandlerInterface::summary |
function |
src/Core/RulesConfigurableEventHandlerInterface.php |
Provides a human readable summary of the event's configuration. |