You are here

function content_moderation_preprocess_node in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/content_moderation/content_moderation.module \content_moderation_preprocess_node()
  2. 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);
}