You are here

imagecache_textactions.install in ImageCache Actions 6

Same filename and directory in other branches
  1. 5.3 imagecache_textactions.install
  2. 5.2 imagecache_textactions.install

Set up new text actions. Tell imagecache.module about them

File

imagecache_textactions.install
View 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

Namesort descending Description
imagecache_textactions_install Need to flush the cache when this module is enabled or disabled
imagecache_textactions_uninstall