Arne Cordes
Arne Cordes

Reputation: 581

Add custom link to operations in 'admin/content'

Can someone give me a suggestion on how to add another link to the "operations"-cell on admin/node?

I have written a module which copies a specific node and now i need in addition to the links "edit" and "delete" a "copy"-link.

Can´t find any useful hints in the Drupal API.

Upvotes: 1

Views: 3085

Answers (2)

Dave Cohen
Dave Cohen

Reputation: 1297

If by "admin/node" you actually mean "admin/content/node", I think you're looking for hook_node_operations().

http://api.drupal.org/api/drupal/modules!node!node.api.php/function/hook_node_operations/7

Upvotes: 0

Alex Smirnoff
Alex Smirnoff

Reputation: 486

The solution is to download admin_menu module. It contains administration views (you also need to enable it in Modules), which changes default content grid to the custom view. You can then go to Views and modify the admin/content view as you want.

Upvotes: 1

Related Questions