You are here

function clone_help in Node clone 5

Same name and namespace in other branches
  1. 5.2 clone.module \clone_help()
  2. 6 clone.module \clone_help()
  3. 7 clone.module \clone_help()

Implementation of hook_help().

File

./clone.module, line 6

Code

function clone_help($section) {
  switch ($section) {
    case 'admin/help#clone':
      $output = '<p>' . t('The clone module allows users to make a copy of an existing node and then edit that copy. The authorship is set to the current user, the menu and url aliases are reset, and the words "Clone of" are inserted into the title to remind you that you are not editing the original node.') . '</p>';
      $output .= '<p>' . t('Users with the "clone node" permission can utilize this functionality. A new tab will appear on node pages with the word "clone". Once you click this tab you have <em>already</em> created a new node that is a copy of the node you were viewing, and you will be redirected to an edit screen for that new node.') . '</p>';
      return $output;
  }
}