Search for all

  1. Search 7.x-2.x for all
  2. Other projects
Title Object type File name Summary
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.
RulesConfigurableEventHandlerInterface::validate function src/Core/RulesConfigurableEventHandlerInterface.php Validates that this event is configured correctly.
RulesDataProcessor class src/Annotation/RulesDataProcessor.php Defines the RulesDataProcessor annotation class.
RulesDataProcessor.php file src/Annotation/RulesDataProcessor.php
RulesDataProcessor::$id property src/Annotation/RulesDataProcessor.php The plugin ID.
RulesDataProcessor::$label property src/Annotation/RulesDataProcessor.php The human-readable name of the rules plugin.
RulesDataProcessor::$types property src/Annotation/RulesDataProcessor.php The data types this data processor can be applied to.
RulesDebugLog class src/Logger/RulesDebugLog.php Logger that stores Rules debug logs with the session service.