function 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 46

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.