You are here

function workbench_moderation_preprocess_node in Workbench Moderation 8

Same name and namespace in other branches
  1. 8.2 workbench_moderation.module \workbench_moderation_preprocess_node()

Implements hook_preprocess_HOOK().

Many default node templates rely on $page to determine whether to output the node title as part of the node content.

File

./workbench_moderation.module, line 145
Contains workbench_moderation.module.

Code

function workbench_moderation_preprocess_node(&$variables) {
  \Drupal::service('workbench_moderation.workbench_preprocess')
    ->preprocessNode($variables);
}