function RulesDataInputEvaluator::attachForm

Overrides RulesDataProcessor::attachForm().

Overridden to just attach the help() of evaluators.

Overrides RulesDataProcessor::attachForm

1 call to RulesDataInputEvaluator::attachForm()
RulesDataUIText::inputForm in ui/ui.data.inc
Implements RulesDataDirectInputFormInterface::inputForm().

File

includes/rules.processor.inc, line 309

Class

RulesDataInputEvaluator
A base processor for use by input evaluators.

Code

public static function attachForm(&$form, $settings, $param_info, $var_info, $access_check = TRUE) {
    foreach (self::evaluators($param_info, $access_check) as $name => $info) {
        $form['help'][$name] = call_user_func(array(
            $info['class'],
            'help',
        ), $var_info, $param_info);
        $form['help'][$name]['#weight'] = $info['weight'];
    }
}