You are here

breadcrumb_manager.install in Breadcrumb Manager 7

Install, update and uninstall functions for the Breadcrumb Manager module.

File

breadcrumb_manager.install
View source
<?php

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

/**
 * Implements hook_uninstall().
 */
function breadcrumb_manager_uninstall() {
  $variables = db_select('variable', 'v')
    ->fields('v', array(
    'name',
  ))
    ->condition('name', 'breadcrumb_manager_%', 'LIKE')
    ->execute()
    ->fetchCol();
  foreach ($variables as $variable) {
    variable_del($variable);
  }
}

Functions