You are here

function hook_encrypt_api in Encrypt 7

Same name and namespace in other branches
  1. 6 encrypt.api.php \hook_encrypt_api()

Encrypt API Hook

This hook informs Encrypt about where the other hooks will be located and will eventually support version combatability.

Return value

An associative array with the following keys

  • "file": Drupal path to file where hook implementations can be found.
  • "api version": Not actually used yet.
2 functions implement hook_encrypt_api()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

encrypt_encrypt_api in ./encrypt.module
Implementation of hook_encrypt_api().
encrypt_test_encrypt_api in tests/encrypt_test.module
Implementation of hook_encrypt_api().
1 invocation of hook_encrypt_api()
encrypt_initialize in ./encrypt.module
Initilize Encrypt

File

./encrypt.api.php, line 24
Hooks provided by the encrypt suite of modules.

Code

function hook_encrypt_api() {
  return array(
    'file' => drupal_get_path('module', 'encrypt') . '/includes/encrypt.encrypt.inc',
    'api version' => '1.0',
  );
}