You are here

function content_translation_update_8001 in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/content_translation/content_translation.install \content_translation_update_8001()

Rebuild the routes as the content translation routes have now new names.

File

core/modules/content_translation/content_translation.install, line 41
Installation functions for Content Translation module.

Code

function content_translation_update_8001() {
  \Drupal::service('router.builder')
    ->rebuild();
}