imagefield_focus.install in ImageField Focus 6
Same filename and directory in other branches
File
imagefield_focus.installView source
<?php
/**
* Implementation of hook_install().
*/
function imagefield_focus_install() {
db_query("UPDATE {system} SET weight = %d WHERE name = '%s'", 1, 'imagefield_focus');
}
/**
* Implementation of hook_uninstall().
*/
function imagefield_focus_uninstall() {
db_query("DELETE FROM {variable} WHERE name LIKE 'imagefield_focus_%%'");
}
/**
* Implementation of hook_enable().
*/
function imagefield_focus_enable() {
cache_clear_all('imagecache_actions', 'cache');
}
/**
* Implementation of hook_disable().
*/
function imagefield_focus_disable() {
cache_clear_all('imagecache_actions', 'cache');
}
/**
* Implementation of hook_update_N().
*/
function imagefield_focus_update_6000() {
cache_clear_all('imagecache_actions', 'cache');
return array();
}
Functions
Name![]() |
Description |
---|---|
imagefield_focus_disable | Implementation of hook_disable(). |
imagefield_focus_enable | Implementation of hook_enable(). |
imagefield_focus_install | Implementation of hook_install(). |
imagefield_focus_uninstall | Implementation of hook_uninstall(). |
imagefield_focus_update_6000 | Implementation of hook_update_N(). |