You are here

function clone_admin_paths in Node clone 7

Implementation of hook_admin_paths().

File

./clone.module, line 173
Allow users to make a copy of an item of content (a node) and then edit that copy.

Code

function clone_admin_paths() {
  if (variable_get('node_admin_theme')) {
    $paths = array(
      'node/*/clone/*' => TRUE,
    );
    return $paths;
  }
}