Skip to content
Snippets Groups Projects
Commit be934e61 authored by catch's avatar catch
Browse files

Issue #3035349 by claudiu.cristea: Remove usage of drupal_static_reset() from...

Issue #3035349 by claudiu.cristea: Remove usage of drupal_static_reset() from EntityReferenceFieldTranslatedReferenceViewTest
parent 18190737
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -222,7 +222,7 @@ protected function enableTranslation() {
// up.
\Drupal::service('content_translation.manager')->setEnabled($this->testEntityTypeName, $this->referrerType->id(), TRUE);
\Drupal::service('content_translation.manager')->setEnabled($this->testEntityTypeName, $this->referencedType->id(), TRUE);
drupal_static_reset();
\Drupal::service('router.builder')->rebuild();
\Drupal::service('entity.definition_update_manager')->applyUpdates();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment