function content_moderation_preprocess_node in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_moderation/content_moderation.module \content_moderation_preprocess_node()
Implements hook_preprocess_HOOK().
File
- core/
modules/ content_moderation/ content_moderation.module, line 173 - Contains content_moderation.module.
Code
function content_moderation_preprocess_node(&$variables) {
\Drupal::service('class_resolver')
->getInstanceFromDefinition(ContentPreprocess::class)
->preprocessNode($variables);
}