You are here

function retina_images_image_crop_form in Retina Images 7

Form structure for the image crop form.

Note that this is not a complete form, it only contains the portion of the form for configuring the crop options. Therefore it does not not need to include metadata about the effect, nor a submit button.

Parameters

$data: The current configuration for this crop effect.

1 string reference to 'retina_images_image_crop_form'
retina_images_image_effect_info_alter in ./retina_images.module
Implements hook_image_effect_info_alter

File

./retina_images.module, line 216
This module provides an image effect to assist in outputing high resolution images.

Code

function retina_images_image_crop_form($data) {
  $form = image_crop_form($data);
  retina_images_form_helper($form, $data);
  return $form;
}