You are here

function admin_theme_install in Administration theme 7

Same name and namespace in other branches
  1. 5 admin_theme.install \admin_theme_install()
  2. 6 admin_theme.install \admin_theme_install()

Implementation of hook_install().

File

./admin_theme.install, line 6

Code

function admin_theme_install() {

  // Updating module weight to 10 to make it run after system.
  // (For user access checks etc.)
  db_query("UPDATE {system} SET weight = 10 WHERE name = 'admin_theme'");
  $link = array(
    '!link' => l(t('Administer > Appearance > Administration theme'), 'admin/appearance'),
  );
  drupal_set_message(t("Administration theme module settings are available under !link", $link));
}