function node_clone_action_info in Node clone 8
Implements hook_action_info().
File
- ./
node_clone.module, line 142 - Allow users to make a copy of an item of content (a node) and then edit that copy.
Code
function node_clone_action_info() {
return array(
'node_clone_action_clone' => array(
'type' => 'node',
'label' => t('Clone item'),
'configurable' => TRUE,
'hooks' => array(
'any' => TRUE,
),
'triggers' => array(
'any',
),
),
);
}