function rules_php_evaluator_info

Implements hook_rules_evaluator_info() on behalf of the php module.

Related topics

File

modules/php.rules.inc, line 22

Code

function rules_php_evaluator_info() {
    return array(
        'php' => array(
            'class' => 'RulesPHPEvaluator',
            'type' => array(
                'text',
                'uri',
            ),
            'weight' => -10,
            'module' => 'php',
        ),
    );
}