function node_clone_rules_action_info in Node clone 8
Implements hook_rules_action_info().
File
- ./
node_clone.rules.inc, line 28 - Node clone rules functions
Code
function node_clone_rules_action_info() {
$actions = array(
'node_clone_action_node_clone' => array(
'label' => t('Clone a node'),
'group' => t('Node'),
'parameter' => array(
'node' => array(
'type' => 'node',
'label' => t('Node to clone'),
),
),
'provides' => array(
'clone' => array(
'type' => 'node',
'label' => t('Cloned node'),
),
),
),
);
return $actions;
}