function admin_theme_install in Administration theme 6
Same name and namespace in other branches
- 5 admin_theme.install \admin_theme_install()
- 7 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 > Site configuration > Administration theme'), 'admin/settings/admin'),
);
drupal_set_message(t("Administration theme module settings are available under !link", $link));
}