function RulesDataProcessor::process
Processes the value.
If $this->processor is set, invoke this processor first so chaining multiple processors is working.
Parameters
$value: The value to process.
$info: Info about the parameter for which we process the value.
RulesState $state: The rules evaluation state.
RulesPlugin $element: The element for which we process the value.
Return value
The processed value.
4 methods override RulesDataProcessor::process()
- RulesDataInputEvaluator::process in includes/
rules.processor.inc - Overridden to generate evaluator $options and invoke evaluate().
- RulesDateOffsetProcessor::process in modules/
rules_core.eval.inc - Overrides RulesDataProcessor::process().
- RulesNumericOffsetProcessor::process in modules/
rules_core.eval.inc - Overrides RulesDataProcessor::process().
- RulesPHPDataProcessor::process in modules/
php.eval.inc - Overrides RulesDataProcessor::process().
File
-
includes/
rules.processor.inc, line 211
Class
- RulesDataProcessor
- Common base class for Rules data processors.
Code
public abstract function process($value, $info, RulesState $state, RulesPlugin $element);