You are here

function encrypt_test_encrypt_method_info in Encrypt 7

Implementation of hook_encrypt_method_info().

File

tests/encrypt_test.module, line 21
Declares a bogus encryption method for testing purposes.

Code

function encrypt_test_encrypt_method_info() {
  $methods = array();

  // Basic methods that dont need any extensions
  $methods['encrypt_test'] = array(
    'title' => t('Test Method'),
    'description' => t('This is just a test encryption method.'),
    'callback' => 'encrypt_test_encrypt_test',
  );
  return $methods;
}