You are here

function imagick_decipher_form in Imagick 7

Settings form for the imagick decipher effect.

Parameters

$action: The saved action form parameters.

1 string reference to 'imagick_decipher_form'
imagick_image_effect_info in ./imagick.module
Implements hook_image_effect_info()

File

effects/imagick.decipher.inc, line 37

Code

function imagick_decipher_form($data) {
  $data = array_merge(imagick_decipher_defaults(), (array) $data);
  $form['password'] = array(
    '#type' => 'textfield',
    '#title' => t('Password'),
    '#description' => t('Password to decrypt the image'),
    '#default_value' => $data['password'],
  );
  return $form;
}