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