content_moderation_preprocess_node

content_moderation_preprocess_node(&$variables)

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

core/modules/content_moderation/content_moderation.module, line 142
Contains content_moderation.module.

Code

function content_moderation_preprocess_node(&$variables) {
  \Drupal::service('class_resolver')
    ->getInstanceFromDefinition(ContentPreprocess::class)
    ->preprocessNode($variables);
}
doc_Drupal
2016-10-29 08:58:34
Comments
Leave a Comment

Please login to continue.