ConditionExpressionInterface.php in Rules 8.3
Namespace
Drupal\rules\EngineFile
src/Engine/ConditionExpressionInterface.phpView source
<?php
namespace Drupal\rules\Engine;
/**
* Defines the interface for Rules expressions that can be used as conditions.
*/
interface ConditionExpressionInterface extends ExpressionInterface {
/**
* Negates the result after evaluating this condition.
*
* @param bool $negate
* TRUE to indicate that the condition should be negated, FALSE otherwise.
*
* @return $this
*/
public function negate($negate = TRUE);
/**
* Determines whether condition result will be negated.
*
* @return bool
* Whether the condition result will be negated.
*/
public function isNegated();
}
Interfaces
Name | Description |
---|---|
ConditionExpressionInterface | Defines the interface for Rules expressions that can be used as conditions. |