Mercurial > hg > isophonics-drupal-site
comparison core/modules/taxonomy/src/Tests/TaxonomyTranslationTestTrait.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
71 \Drupal::service('content_translation.manager')->setEnabled('node', 'article', TRUE); | 71 \Drupal::service('content_translation.manager')->setEnabled('node', 'article', TRUE); |
72 \Drupal::service('content_translation.manager')->setEnabled('taxonomy_term', $this->vocabulary->id(), TRUE); | 72 \Drupal::service('content_translation.manager')->setEnabled('taxonomy_term', $this->vocabulary->id(), TRUE); |
73 drupal_static_reset(); | 73 drupal_static_reset(); |
74 \Drupal::entityManager()->clearCachedDefinitions(); | 74 \Drupal::entityManager()->clearCachedDefinitions(); |
75 \Drupal::service('router.builder')->rebuild(); | 75 \Drupal::service('router.builder')->rebuild(); |
76 \Drupal::service('entity.definition_update_manager')->applyUpdates(); | |
77 } | 76 } |
78 | 77 |
79 /** | 78 /** |
80 * Adds term reference field for the article content type. | 79 * Adds term reference field for the article content type. |
81 */ | 80 */ |