interface RulesConditionInterface in Rules 7.2
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 1908 - Rules base classes and interfaces needed for any rule evaluation.
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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
RulesConditionInterface:: |
public | function | ||
RulesConditionInterface:: |
public | function | Returns whether the element is configured to negate the result. | 2 |
RulesConditionInterface:: |
public | function | Negate the result. | 2 |