admin_path.install in Administrative pages 7
Install, update and uninstall functions for the Administrative pages module.
File
admin_path.installView source
<?php
/**
 * @file
 * Install, update and uninstall functions for the Administrative pages module.
 */
/**
 * Implements hook_install().
 */
function admin_path_install() {
  // Administrative pages module should go last so that it can override all
  // admin paths other modules provided using both hook_admin_paths() and
  // hook_admin_paths_alter().
  db_update('system')
    ->fields(array(
    'weight' => 99,
  ))
    ->condition('name', 'admin_path')
    ->execute();
}Functions
| Name   | Description | 
|---|---|
| admin_path_install | Implements hook_install(). | 
