skinr_ui.install in Skinr 7.2
Same filename and directory in other branches
Contains install, update, and uninstall functions for Skinr UI.
File
skinr_ui.installView source
<?php
/**
* @file
* Contains install, update, and uninstall functions for Skinr UI.
*/
/**
* Implements hook_install().
*/
function skinr_ui_install() {
// Skinr UI should go before contextual module.
db_update('system')
->fields(array(
'weight' => -1,
))
->condition('name', 'skinr_ui')
->execute();
}
/**
* Implements hook_uninstall().
*/
function skinr_ui_uninstall() {
}
/**
* Implements hook_update_last_removed().
*
* Make sure any previous updates aren't skipped.
*/
function skinr_ui_update_last_removed() {
return 6001;
}
Functions
Name | Description |
---|---|
skinr_ui_install | Implements hook_install(). |
skinr_ui_uninstall | Implements hook_uninstall(). |
skinr_ui_update_last_removed | Implements hook_update_last_removed(). |