You are here

function workbench_moderation_node_load in Workbench Moderation 7

Same name and namespace in other branches
  1. 7.3 workbench_moderation.module \workbench_moderation_node_load()

Implements hook_node_load().

Load moderation history and status on a node.

File

./workbench_moderation.module, line 769
Content moderation for Workbench.

Code

function workbench_moderation_node_load($nodes, $types) {
  foreach ($nodes as $node) {

    // Add the node history
    workbench_moderation_node_data($node);
  }
}