express_theme_picker.install in Express Theme Picker 7
File
express_theme_picker.installView source
<?php
/**
* Implements hook_install().
*
*/
function express_theme_picker_install() {
// Set weight to come after jquery_update.
$weight = db_select('system', 's')
->fields('s', array(
'weight',
))
->condition('name', 'jquery_update', '=')
->execute()
->fetchField();
db_update('system')
->fields(array(
'weight' => $weight + 1,
))
->condition('name', 'express_theme_picker', '=')
->execute();
}
Functions
Name![]() |
Description |
---|---|
express_theme_picker_install | Implements hook_install(). |