imagecache_textactions.install in ImageCache Actions 6
Same filename and directory in other branches
Set up new text actions. Tell imagecache.module about them
File
imagecache_textactions.installView source
<?php
/**
* @file Set up new text actions. Tell imagecache.module about them
*/
/**
* Need to flush the cache when this module is enabled or disabled
*/
function imagecache_textactions_install() {
if (function_exists('imagecache_action_definitions')) {
imagecache_action_definitions(TRUE);
}
cache_clear_all('imagecache_actions', 'cache');
}
function imagecache_textactions_uninstall() {
if (function_exists('imagecache_action_definitions')) {
imagecache_action_definitions(TRUE);
}
cache_clear_all('imagecache_actions', 'cache');
}
Functions
Name![]() |
Description |
---|---|
imagecache_textactions_install | Need to flush the cache when this module is enabled or disabled |
imagecache_textactions_uninstall |