You are here

function hook_simplecrop_crop_delete in SimpleCrop 7

Triggers before crop has been deleted from the database.

Parameters

$crop: Object with crop information. Contains: $crop->uri - URI of image which was cropped. $crop->data - Information about crop (coordinates, etc).

1 invocation of hook_simplecrop_crop_delete()
simplecrop_crop_delete in includes/simplecrop.api.inc
Delete image crop by file ID.

File

./simplecrop.api.php, line 55
Describes hooks defined by SimpleCrop module.

Code

function hook_simplecrop_crop_delete($crop) {
}