function views_accelerator_install in Views Accelerator 7
Implements hook_install().
File
- ./
views_accelerator.install, line 19 - Install and uninstall hooks for Views Accelerator module.
Code
function views_accelerator_install() {
// Make sure that post_executed() results are available to other modules
// implementing hook_views_post_execute().
db_update('system')
->fields(array(
'weight' => -10,
))
->condition('name', 'views_accelerator')
->execute();
}