Active
Project:
Node clone tab
Version:
7.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2016 at 15:36 UTC
Updated:
1 Jul 2016 at 15:36 UTC
Jump to comment: Most recent
I had to update the menu path array name as follows with the current version of node_clone:
/**
* implementation hook_menu_alter();
* @param unknown_type $items
*/
function node_clone_tab_menu_alter(&$items) {
// Change node clone menu item to a tab instead of an action
$items['node/%node/clone/%clone_token']['type'] = MENU_LOCAL_TASK;
}
The Node clone tab module alters a link that does NOT contain the %clone_token at the end which didn't work for me. I had to update the link item array name to what I included above.
Comments