function clone_permission in Node clone 7
Implementation of hook_permission().
File
- ./
clone.module, line 27 - Allow users to make a copy of an item of content (a node) and then edit that copy.
Code
function clone_permission() {
return array(
'clone node' => array(
'title' => t('Clone any node'),
),
'clone own nodes' => array(
'title' => t('Clone own nodes.'),
),
);
}