function encrypt_initialize in Encrypt 6
Same name and namespace in other branches
- 7 encrypt.module \encrypt_initialize()
Initilize Encrypt
Get necessary includes.
4 calls to encrypt_initialize()
- decrypt in ./
encrypt.module - Decrypt
- encrypt in ./
encrypt.module - Encrypt
- EncryptTest::testCheckEncryptionMethodsKeys in ./
encrypt.test - Test to check encryption methods
- encrypt_admin_settings in includes/
encrypt.admin.inc - Menu callback; displays the encrypt module settings page.
File
- ./
encrypt.module, line 111 - Main Encrypt Drupal File
Code
function encrypt_initialize() {
module_load_include('inc', 'encrypt', 'includes/encrypt.crypt');
// Include any files that modules want to include
// TODO: Some sort of version checking
foreach (module_implements('encrypt_api') as $module) {
$info = module_invoke($module, 'encrypt_api');
if (is_array($info) && !empty($info['file'])) {
require_once $info['file'];
}
}
}