You are here

function imagick_encipher_form in Imagick 7

Settings form for the imagick encipher effect.

Parameters

$action: The saved action form parameters.

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

File

effects/imagick.encipher.inc, line 37

Code

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