You are here

function cms_content_sync_update_8006 in CMS Content Sync 8

Same name and namespace in other branches
  1. 2.1.x cms_content_sync.install \cms_content_sync_update_8006()
  2. 2.0.x cms_content_sync.install \cms_content_sync_update_8006()

Rebuild menu cache to ensure route changes are taken into account.

File

./cms_content_sync.install, line 448
Install file for cms_content_sync.

Code

function cms_content_sync_update_8006(&$sandbox) {
  Drupal::service('cache_tags.invalidator')
    ->invalidateTags([
    'config:system.menu.admin',
  ]);
  return 'Rebuild menu cache to ensure route changes are taken into account.';
}