Needs review
Project:
Workbench Moderation
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
17 Dec 2012 at 04:12 UTC
Updated:
25 Feb 2015 at 19:46 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
damienmckennaThis adds
drupal_alter('workbench_moderation_node_history_view', $rows);Comment #2
xtfer commentedThis is such a minor patch I can't see any issues with RTBC'ing it. Its "working" locally for me.
Comment #3
stevectorInteresting idea. Thanks for the patch.
A change like this would at least need an entry in workbench_moderation.api.php since it introduces a new hook. Can you give me an example of how you're using it?
Comment #4
damienmckennaI'm trying to use it over in #1871552: Panelizer does not work well with workbench and entity revisions. to aid with integrating Workbench Moderation with Panelizer.
How does this patch work for you?
Comment #5
damienmckennaComment #6
hass commentedThis example could be optimized. First add the links to an array and after the foreach(), execute an
implode(' | ', $foo)Looks good to go than.
Comment #7
damienmckennaI tidied up the hook_workbench_moderation_node_history_view_alter() example in the API file.
Comment #9
damienmckennaFixed a typoo, and added a comment above the drupal_alter() call.
Comment #10
damienmckennaUpdated with more documentation for the hook and an improved example.
Comment #11
damienmckennaIs this something the 1.x maintainers are interested in?