You are here

smartcrop.install in Smart Crop 7

Same filename and directory in other branches
  1. 6 smartcrop.install

Install file for smartcrop module

File

smartcrop.install
View source
<?php

/**
 * @file
 * Install file for smartcrop module
 */

/**
 * Implements hook_enable().
 */
function smartcrop_enable() {
  cache_clear_all('image_styles', 'cache');
  cache_clear_all('image_effects:', 'cache', TRUE);
}

/**
 * Implements hook_disable().
 */
function smartcrop_disable() {
  cache_clear_all('image_styles', 'cache');
  cache_clear_all('image_effects:', 'cache', TRUE);
}

Functions

Namesort descending Description
smartcrop_disable Implements hook_disable().
smartcrop_enable Implements hook_enable().