function RulesDateInputEvaluator::evaluate

Overrides RulesDataInputEvaluator::evaluate().

Overrides RulesDataInputEvaluator::evaluate

File

modules/rules_core.eval.inc, line 85

Class

RulesDateInputEvaluator
A class implementing a rules input evaluator processing date input.

Code

public function evaluate($text, $options, RulesState $state) {
    return self::gmstrtotime($text);
}