diff --git a/core/modules/content_moderation/content_moderation.module b/core/modules/content_moderation/content_moderation.module index 94264aee99..4bed2d4dbe 100644 --- a/core/modules/content_moderation/content_moderation.module +++ b/core/modules/content_moderation/content_moderation.module @@ -234,12 +234,3 @@ function content_moderation_workflow_insert(WorkflowInterface $entity) { function content_moderation_workflow_update(WorkflowInterface $entity) { content_moderation_workflow_insert($entity); } - -/** - * Implements hook_preprocess(). - */ -function content_moderation_preprocess(&$variables, $hook) { - \Drupal::service('class_resolver') - ->getInstanceFromDefinition(EntityTypeInfo::class) - ->preprocess($variables, $hook); -}