function RulesDataInputEvaluator::process

Overridden to generate evaluator $options and invoke evaluate().

Overrides RulesDataProcessor::process

1 method overrides RulesDataInputEvaluator::process()
RulesI18nStringEvaluator::process in rules_i18n/rules_i18n.rules.inc
Prepare the i18n-context string.

File

includes/rules.processor.inc, line 261

Class

RulesDataInputEvaluator
A base processor for use by input evaluators.

Code

public function process($value, $info, RulesState $state, RulesPlugin $element, $options = NULL) {
    $options = isset($options) ? $options : $this->getEvaluatorOptions($info, $state, $element);
    $value = isset($this->processor) ? $this->processor
        ->process($value, $info, $state, $element, $options) : $value;
    return $this->evaluate($value, $options, $state);
}