You are here

function revisioning_preprocess_node in Revisioning 8

Implements hook_preprocess_node().

Last of the dont_display hooks.

File

./revisioning.module, line 478
Allows content to be updated and reviewed before submitting it for publication, while the current live revision remains unchanged and publicly visible until the changes have been reviewed and found fit for publication by a moderator.

Code

function revisioning_preprocess_node(&$variables) {
  if (!empty($variables['dont_display'])) {

    // $variables = array();
    return;
  }
}