You are here

epsacrop.api.php in EPSA Crop - Image Cropping 7.2

Hooks provided by the epsacrop.

File

epsacrop.api.php
View source
<?php

/**
 * @file
 * Hooks provided by the epsacrop.
 */

/**
 * @addtogroup hooks
 * @{
 */

/**
 * This hook is invoked from epsacrop_crop_image() before the image will be updated.
 *
 * @param object $image
 *   Image object.
 *
 * @param array $settings
 *   Image settings.
 *
 * @param array $coords
 *   Image coords.
 *
 * @param string $style_name
 *   Styles name.
 */
function hook_epsacrop_crop_image_presave($image, $settings, $coords, $style_name) {
}

/**
 * This hook is invoked from epsacrop_crop_image() when the image was updated.
 *
 * @param object $image
 *   Image object.
 *
 * @param array $settings
 *   Image settings.
 *
 * @param array $coords
 *   Image coords.
 *
 * @param string $style_name
 *   Styles name.
 */
function hook_epsacrop_crop_image_postsave($image, $settings, $coords, $style_name) {
}

/**
 * @} End of "addtogroup hooks".
 */

Functions

Namesort descending Description
hook_epsacrop_crop_image_postsave This hook is invoked from epsacrop_crop_image() when the image was updated.
hook_epsacrop_crop_image_presave This hook is invoked from epsacrop_crop_image() before the image will be updated.