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