function petreference_rules_action_info in Previewable email templates 6
Implementation of hook_rules_action_info().
File
- modules/
petreference/ petreference.rules.inc, line 11 - Provides additional rules support for petreference fields.
Code
function petreference_rules_action_info() {
$info = array();
$info['petreference_rules_action_load'] = array(
'label' => t('Load a referenced pet template'),
'arguments' => array(
'pet' => array(
'type' => 'pet',
'label' => t('Content containing the PET Reference field'),
),
),
'new variables' => array(
'referenced_pet' => array(
'type' => 'pet',
'label' => t('Referenced content'),
),
),
'module' => 'CCK',
'help' => t('Note that if the field has multiple values, only the first pet template will be loaded.'),
);
return $info;
}