Search for all
| Title | Object type | File name | Summary |
|---|---|---|---|
| RuleExpression::addAction | function | src/ |
Creates an action expression and adds it to the container. |
| RuleExpression::addCondition | function | src/ |
Creates a condition expression and adds it to the container. |
| RuleExpression::addExpression | function | src/ |
Creates and adds an expression. |
| RuleExpression::addExpressionObject | function | src/ |
Adds an expression object. |
| RuleExpression::checkIntegrity | function | src/ |
Verifies that this expression is configured correctly. |
| RuleExpression::create | function | src/ |
Creates an instance of the plugin. |
| RuleExpression::deleteExpression | function | src/ |
Deletes an expression identified by the specified UUID in the container. |
| RuleExpression::executeWithState | function | src/ |
Execute the expression with a given Rules state. |
| RuleExpression::getActions | function | src/ |
Returns the actions of this rule. |
| RuleExpression::getConditions | function | src/ |
Returns the conditions container of this rule. |
| RuleExpression::getConfiguration | function | src/ |
Gets this plugin's configuration. |
| RuleExpression::getExpression | function | src/ |
Looks up the expression by UUID in this container. |
| RuleExpression::getIterator | function | src/ |
Returns an iterator for expressions in this container. |
| RuleExpression::prepareExecutionMetadataState | function | src/ |
Prepares the execution metadata state by adding metadata to it. |
| RuleExpression::setActions | function | src/ |
Sets the action container. |
| RuleExpression::setConditions | function | src/ |
Sets the condition container. |
| RuleExpression::__clone | function | src/ |
PHP magic __clone function. |
| RuleExpression::__construct | function | src/ |
Constructs a new class instance. |
| RuleExpressionForm | class | src/ |
Form view structure for rule expressions. |
| RuleExpressionForm.php | file | src/ |
|
| RuleExpressionForm::$rule | property | src/ |
The rule expression object this form is for. |
| RuleExpressionForm::form | function | src/ |
Adds elements specific to the expression to the form. |
| RuleExpressionForm::submitForm | function | src/ |
Implements ExpressionFormInterface::submitForm(). |
| RuleExpressionForm::__construct | function | src/ |
Creates a new object of this class. |
| RuleExpressionInterface | interface | src/ |
Defines a rule. |
| RuleExpressionInterface.php | file | src/ |
|
| RuleExpressionInterface::addAction | function | src/ |
Creates an action expression and adds it to the container. |
| RuleExpressionInterface::addCondition | function | src/ |
Creates a condition expression and adds it to the container. |
| RuleExpressionInterface::getActions | function | src/ |
Returns the actions of this rule. |
| RuleExpressionInterface::getConditions | function | src/ |
Returns the conditions container of this rule. |
| RuleExpressionInterface::setActions | function | src/ |
Sets the action container. |
| RuleExpressionInterface::setConditions | function | src/ |
Sets the condition container. |
| RuleExpressionTest | class | tests/ |
@coversDefaultClass \Drupal\rules\Plugin\RulesExpression\RuleExpression[[api-linebreak]] @group Rules |
| RuleExpressionTest.php | file | tests/ |
|
| RuleExpressionTest::$actions | property | tests/ |
The primary action container of the rule. |
| RuleExpressionTest::$conditions | property | tests/ |
The primary condition container of the rule. |
| RuleExpressionTest::$expressionManager | property | tests/ |
The rules expression plugin manager. |
| RuleExpressionTest::$rule | property | tests/ |
The rule being tested. |
| RuleExpressionTest::setUp | function | tests/ |
|
| RuleExpressionTest::testActionExecution | function | tests/ |
Tests that an action fires if a condition passes. |
| RuleExpressionTest::testConditionFails | function | tests/ |
Tests that an action does not fire if a condition fails. |
| RuleExpressionTest::testContainersOnConstruct | function | tests/ |
Tests that a rule is constructed with condition and action containers. |
| RuleExpressionTest::testDeletingExpressions | function | tests/ |
Tests that removing expressions by indices works. |
| RuleExpressionTest::testLookupExpression | function | tests/ |
Tests that a nested expression can be retrieved by UUID. |
| RuleExpressionTest::testNestedRules | function | tests/ |
Tests that nested rules are properly executed. |
| RuleExpressionTest::testSetActionsGetActions | function | tests/ |
Tests the condition container setter and getter. |
| RuleExpressionTest::testSetConditionsGetConditions | function | tests/ |
Tests the condition container setter and getter. |
| RuleExpressionTest::testTwoConditionsFalse | function | tests/ |
Tests that an action does not fire if a condition fails. |
| RuleExpressionTest::testTwoConditionsTrue | function | tests/ |
Tests that an action fires if a condition passes. |
| Rules | class | src/ |
Class containing shortcuts for procedural code. |
Pagination
- Previous page
- Page 31
- Next page