function field_encrypt_field_create_field in Field Encryption 7
Implements hook_field_create_field().
File
- ./
field_encrypt.module, line 136 - Core functions for the Field Encryption module.
Code
function field_encrypt_field_create_field($field) {
if (isset($field['settings']['field_encrypt']['encrypt']) && $field['settings']['field_encrypt']['encrypt']) {
module_load_include('inc', 'field_encrypt');
field_encrypt_do_encrypt($field, FALSE);
}
}