admin_toolbar.install 345 B

12345678910111213141516
  1. <?php
  2. /**
  3. * @file
  4. * Install, update and uninstall functions for the Admin Toolbar module.
  5. */
  6. /**
  7. * Rebuild routes to mitigate issue 2938884.
  8. *
  9. * @see https://www.drupal.org/project/admin_toolbar/issues/2938884
  10. */
  11. function admin_toolbar_update_8001() {
  12. // Rebuilding the route cache.
  13. \Drupal::service("router.builder")->rebuild();
  14. }