core/modules/comment/comment.module | 1 - 1 file changed, 1 deletion(-) diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module index 0885e90..beac42c 100644 --- a/core/modules/comment/comment.module +++ b/core/modules/comment/comment.module @@ -247,7 +247,6 @@ function comment_field_instance_create(FieldInstanceInterface $instance) { */ function comment_field_instance_update(FieldInstanceInterface $instance) { if ($instance->getType() == 'comment') { - \Drupal::entityManager()->getViewBuilder($instance->entity_type)->resetCache(); // Comment field settings also affects the rendering of *comment* entities, // not only the *commented* entities. \Drupal::entityManager()->getViewBuilder('comment')->resetCache();