toolbar.install

Install, update and uninstall functions for the toolbar module.

File

drupal/core/modules/toolbar/toolbar.install
View source
<?php

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

/**
 * @addtogroup updates-7.x-to-8.x
 * @{
 */

/**
 * Enable the Breakpoint and Config modules.
 *
 * The 7.x version of the Toolbar module had no dependencies. The 8.x version
 * depends on the Breakpoint and Configuration manager modules.
 */
function toolbar_update_8000() {

  // Enable the modules without re-installing the schema.
  module_enable(array(
    'breakpoint',
  ));
}

/**
 * @} End of "addtogroup updates-7.x-to-8.x".
 * The next series of updates should start at 9000.
 */

Functions

Namesort descending Description
toolbar_update_8000 Enable the Breakpoint and Config modules.