interface RulesConditionInterface
Same name in other branches
- 8.x-3.x src/Core/RulesConditionInterface.php \Drupal\rules\Core\RulesConditionInterface
Interface for objects that can be used as conditions.
Hierarchy
- interface \RulesConditionInterface
Expanded class hierarchy of RulesConditionInterface
All classes that implement RulesConditionInterface
1 string reference to 'RulesConditionInterface'
- rules_get_components in ./
rules.module - Returns an array of configured components.
File
-
includes/
rules.core.inc, line 1923
View source
interface RulesConditionInterface {
/**
* @return bool
*
* @throws RulesEvaluationException
* Throws an exception if not all necessary arguments have been provided.
*/
public function execute();
/**
* Negate the result.
*/
public function negate($negate = TRUE);
/**
* Returns whether the element is configured to negate the result.
*/
public function isNegated();
}
Members
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
RulesConditionInterface::execute | public | function | ||
RulesConditionInterface::isNegated | public | function | Returns whether the element is configured to negate the result. | 2 |
RulesConditionInterface::negate | public | function | Negate the result. | 2 |