function RulesPHPEvaluator::help

Overrides RulesDataInputEvaluator::help().

Overrides RulesDataInputEvaluator::help

File

modules/php.eval.inc, line 69

Class

RulesPHPEvaluator
A class implementing a rules input evaluator processing PHP.

Code

public static function help($var_info) {
    module_load_include('inc', 'rules', 'rules/modules/php.rules');
    $render = array(
        '#type' => 'fieldset',
        '#title' => t('PHP Evaluation'),
        '#collapsible' => TRUE,
        '#collapsed' => TRUE,
    ) + rules_php_evaluator_help($var_info);
    return $render;
}