function RuleExpression::addCondition
Overrides RuleExpressionInterface::addCondition
File
-
src/
Plugin/ RulesExpression/ RuleExpression.php, line 132
Class
- RuleExpression
- Provides a rule, executing actions when conditions are met.
Namespace
Drupal\rules\Plugin\RulesExpressionCode
public function addCondition($condition_id, ContextConfig $config = NULL) {
return $this->conditions
->addCondition($condition_id, $config);
}