You are here

admin_toolbar.install in Admin Toolbar 8

Same filename and directory in other branches
  1. 8.2 admin_toolbar.install
  2. 3.x admin_toolbar.install

Install, update and uninstall functions for the Admin Toolbar module.

File

admin_toolbar.install
View source
<?php

/**
 * @file
 * Install, update and uninstall functions for the Admin Toolbar module.
 */

/**
 * Rebuild routes to mitigate issue 2938884.
 *
 * @see https://www.drupal.org/project/admin_toolbar/issues/2938884
 */
function admin_toolbar_update_8001() {

  // Rebuilding the route cache.
  \Drupal::service("router.builder")
    ->rebuild();
}

Functions

Namesort descending Description
admin_toolbar_update_8001 Rebuild routes to mitigate issue 2938884.