You are here

function views_post_update_title_translations in Drupal 9

Rebuild routes to fix view title translations.

File

core/modules/views/views.post_update.php, line 76
Post update functions for Views.

Code

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