You are here

function imagecache_textactions_install in ImageCache Actions 6

Same name and namespace in other branches
  1. 5.3 imagecache_textactions.install \imagecache_textactions_install()
  2. 5.2 imagecache_textactions.install \imagecache_textactions_install()

Need to flush the cache when this module is enabled or disabled

File

./imagecache_textactions.install, line 9
Set up new text actions. Tell imagecache.module about them

Code

function imagecache_textactions_install() {
  if (function_exists('imagecache_action_definitions')) {
    imagecache_action_definitions(TRUE);
  }
  cache_clear_all('imagecache_actions', 'cache');
}