You are here

function encrypt_file_encrypt_key_providers in Encrypt 7.3

Same name and namespace in other branches
  1. 7.2 plugins/key_providers/file.inc \encrypt_file_encrypt_key_providers()

Implements MODULE_FILENAME_encrypt_key_providers().

1 call to encrypt_file_encrypt_key_providers()
file.inc in plugins/key_providers/file.inc
Plugin definition for the File key provider.

File

plugins/key_providers/file.inc, line 15
Plugin definition for the File key provider.

Code

function encrypt_file_encrypt_key_providers() {
  return array(
    'title' => t('File'),
    'description' => t('Use a file to store the encryption key.'),
    'key callback' => 'encrypt_get_file_key',
    'settings form' => 'encrypt_file_key_settings_form',
    'submit callback' => 'encrypt_file_key_settings_form_submit',
    'static key' => TRUE,
  );
}