The menu item "admin/content/simplenews" uses the function simplenews_admin_issues which displays a nice table overview. I would like to customizse the table's operations column (al

I want to allow modules to update the information in the last column. For instance, duplication (using node_clone) is a good operation for usability. Also a link to the "send" or for some organisations, a link to a custom node page callback (which changes the node status, field values, etc. which must be ready before publication). There are many use case examples.

Can we add:

file includes/simplenews.admin.inc line 189:
++  drupal_alter('simplenews_admin_issues_operations', $options[$issue->nid]['operations']);

Thanks for the feedback, will upload the patch if accepted.

Comments

Berdir’s picture

The goal is to replace this patch (and others) with default views in 7.x-2.x but I'm fine with adding a hook for now, please provide a patch.

Berdir’s picture

Actually, re-reading the issue, this is not something that's going to be solved in views, at least not until there's a generic, extendable entity actions views handler available through entity.module.

So, this would still be useful even when using Views.