You are here

function rules_php_data_processor_info in Rules 7.2

Implements hook_rules_data_processor_info() on behalf of the php module.

Related topics

File

modules/php.rules.inc, line 36
Rules integration for the php module.

Code

function rules_php_data_processor_info() {
  return array(
    'php' => array(
      'class' => 'RulesPHPDataProcessor',
      'type' => array(
        'text',
        'token',
        'decimal',
        'integer',
        'date',
        'duration',
        'boolean',
        'uri',
      ),
      'weight' => 10,
      'module' => 'php',
    ),
  );
}