function php_rules_condition_info in Rules 6
Implementation of hook_rules_condition_info().
Related topics
File
- rules/
modules/ php.rules.inc, line 135 - rules integration for the php module This provides an php input evaluator as well as a execute php code action.
Code
function php_rules_condition_info() {
return array(
'rules_condition_custom_php' => array(
'label' => t('Execute custom PHP code'),
'module' => 'PHP',
'eval input' => array(
'code',
),
),
);
}