function admin_enable in Admin 7.2
Same name and namespace in other branches
- 6.2 admin.install \admin_enable()
- 6 admin.install \admin_enable()
Implements hook_enable().
File
- ./
admin.install, line 18 - Install, update and uninstall functions for the admin module.
Code
function admin_enable() {
// Weight admin to come after other modules -- in particular, admin_theme().
db_update('system')
->fields(array(
'weight' => 1,
))
->condition('name', 'admin')
->condition('type', 'module')
->execute();
}