I propose to change

'type' => MENU_LOCAL_ACTION, (clone.module at line 50)

to

'type' => MENU_LOCAL_TASK,

as it is more handy to have "Clone" as a task tab.

Otherwise a setting letting you switch between these options could be handy.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

zepner’s picture

agreed, did the same.
is there an actual purpose for keeping it in the action_links?

CarbonPig’s picture

subscribe - I did the same thing - tab is more useful and doesn't clutter up a panel. Tab can also be hidden/renamed using Tab Tamer module if needed.

bneil’s picture

Status: Active » Needs review
FileSize
331 bytes

Quick patch that changes MENU_LOCAL_ACTION to MENU_LOCAL_TASK.

moshe weitzman’s picture

Issue tags: +Release blocker

I think action is more correct though. Anyway, needs committer feedback.

GiorgosK’s picture

Status: Needs review » Closed (duplicate)

module maintainer has already answered that he won't fix it if you read #16 in #1054834: Clone tab

how about if there is a configuration choice ?
or how would we integrate into contextual links ?

RobLoach’s picture

How about we move the discussion over here: #1328682: Add a link to the contextual menu / or a tab for cloning the node

Definitely an improved UI is important.

attheshow’s picture

@neuronick - Thanks for posting about the MENU_LOCAL_TASK fix. This helped me get it configured the way I wanted it.

jnettik’s picture

I would second the link being in the tabs.

Hitby’s picture

Patch in #3 works well. Looks much tidier. Thanks,

sirtet’s picture

+1 for a setting for the link-type's tab|action|contextual

In the meantime, for people who are not comfortable with patches, there's a module for that: https://drupal.org/project/node_clone_tab

Dave Reid’s picture

Issue summary: View changes
FileSize
390 bytes

Re-rolled patch against RC2. So confusing why this is a local action.

sirtet’s picture

I'd love to see this in, but it's aparently very controversal, see https://www.drupal.org/node/1328682
Maybe this issue should be closed as duplicate (and the other one reopened)?