Search for all

  1. Search 7.x-2.x for all
  2. Other projects
Title Object type File name Summary
RuleExpression::addCondition function src/Plugin/RulesExpression/RuleExpression.php Creates a condition expression and adds it to the container.
RuleExpression::addExpression function src/Plugin/RulesExpression/RuleExpression.php Creates and adds an expression.
RuleExpression::addExpressionObject function src/Plugin/RulesExpression/RuleExpression.php Adds an expression object.
RuleExpression::checkIntegrity function src/Plugin/RulesExpression/RuleExpression.php Verifies that this expression is configured correctly.
RuleExpression::create function src/Plugin/RulesExpression/RuleExpression.php Creates an instance of the plugin.
RuleExpression::deleteExpression function src/Plugin/RulesExpression/RuleExpression.php Deletes an expression identified by the specified UUID in the container.
RuleExpression::executeWithState function src/Plugin/RulesExpression/RuleExpression.php Execute the expression with a given Rules state.
RuleExpression::getActions function src/Plugin/RulesExpression/RuleExpression.php Returns the actions of this rule.
RuleExpression::getConditions function src/Plugin/RulesExpression/RuleExpression.php Returns the conditions container of this rule.
RuleExpression::getConfiguration function src/Plugin/RulesExpression/RuleExpression.php Gets this plugin's configuration.
RuleExpression::getExpression function src/Plugin/RulesExpression/RuleExpression.php Looks up the expression by UUID in this container.
RuleExpression::getIterator function src/Plugin/RulesExpression/RuleExpression.php Returns an iterator for expressions in this container.
RuleExpression::prepareExecutionMetadataState function src/Plugin/RulesExpression/RuleExpression.php Prepares the execution metadata state by adding metadata to it.
RuleExpression::setActions function src/Plugin/RulesExpression/RuleExpression.php Sets the action container.
RuleExpression::setConditions function src/Plugin/RulesExpression/RuleExpression.php Sets the condition container.
RuleExpression::__clone function src/Plugin/RulesExpression/RuleExpression.php PHP magic __clone function.
RuleExpression::__construct function src/Plugin/RulesExpression/RuleExpression.php Constructs a new class instance.
RuleExpressionForm class src/Form/Expression/RuleExpressionForm.php Form view structure for rule expressions.
RuleExpressionForm.php file src/Form/Expression/RuleExpressionForm.php
RuleExpressionForm::$rule property src/Form/Expression/RuleExpressionForm.php The rule expression object this form is for.
RuleExpressionForm::form function src/Form/Expression/RuleExpressionForm.php Adds elements specific to the expression to the form.
RuleExpressionForm::submitForm function src/Form/Expression/RuleExpressionForm.php Implements ExpressionFormInterface::submitForm().
RuleExpressionForm::__construct function src/Form/Expression/RuleExpressionForm.php Creates a new object of this class.
RuleExpressionInterface interface src/Engine/RuleExpressionInterface.php Defines a rule.
RuleExpressionInterface.php file src/Engine/RuleExpressionInterface.php
RuleExpressionInterface::addAction function src/Engine/RuleExpressionInterface.php Creates an action expression and adds it to the container.
RuleExpressionInterface::addCondition function src/Engine/RuleExpressionInterface.php Creates a condition expression and adds it to the container.
RuleExpressionInterface::getActions function src/Engine/RuleExpressionInterface.php Returns the actions of this rule.
RuleExpressionInterface::getConditions function src/Engine/RuleExpressionInterface.php Returns the conditions container of this rule.
RuleExpressionInterface::setActions function src/Engine/RuleExpressionInterface.php Sets the action container.
RuleExpressionInterface::setConditions function src/Engine/RuleExpressionInterface.php Sets the condition container.
RuleExpressionTest class tests/src/Unit/RuleExpressionTest.php @coversDefaultClass \Drupal\rules\Plugin\RulesExpression\RuleExpression
@group Rules
RuleExpressionTest.php file tests/src/Unit/RuleExpressionTest.php
RuleExpressionTest::$actions property tests/src/Unit/RuleExpressionTest.php The primary action container of the rule.
RuleExpressionTest::$conditions property tests/src/Unit/RuleExpressionTest.php The primary condition container of the rule.
RuleExpressionTest::$expressionManager property tests/src/Unit/RuleExpressionTest.php The rules expression plugin manager.
RuleExpressionTest::$rule property tests/src/Unit/RuleExpressionTest.php The rule being tested.
RuleExpressionTest::setUp function tests/src/Unit/RuleExpressionTest.php
RuleExpressionTest::testActionExecution function tests/src/Unit/RuleExpressionTest.php Tests that an action fires if a condition passes.
RuleExpressionTest::testConditionFails function tests/src/Unit/RuleExpressionTest.php Tests that an action does not fire if a condition fails.
RuleExpressionTest::testContainersOnConstruct function tests/src/Unit/RuleExpressionTest.php Tests that a rule is constructed with condition and action containers.
RuleExpressionTest::testDeletingExpressions function tests/src/Unit/RuleExpressionTest.php Tests that removing expressions by indices works.
RuleExpressionTest::testLookupExpression function tests/src/Unit/RuleExpressionTest.php Tests that a nested expression can be retrieved by UUID.
RuleExpressionTest::testNestedRules function tests/src/Unit/RuleExpressionTest.php Tests that nested rules are properly executed.
RuleExpressionTest::testSetActionsGetActions function tests/src/Unit/RuleExpressionTest.php Tests the condition container setter and getter.
RuleExpressionTest::testSetConditionsGetConditions function tests/src/Unit/RuleExpressionTest.php Tests the condition container setter and getter.
RuleExpressionTest::testTwoConditionsFalse function tests/src/Unit/RuleExpressionTest.php Tests that an action does not fire if a condition fails.
RuleExpressionTest::testTwoConditionsTrue function tests/src/Unit/RuleExpressionTest.php Tests that an action fires if a condition passes.
Rules class src/Rules.php Class containing shortcuts for procedural code.
rules-debug-log-element.html.twig file templates/rules-debug-log-element.html.twig {#
/**
* @file
* Default theme implementation for a Rules debug output log entry.
*
* This outputs the container for Rules log debug output.
* Individual log entries are output in rules-debug-log-element.html.twig.
*
* Available variables:
* -…