function complete_profile_field_create_instance in Complete profile 7
Implements hook_field_create_instance().
File
- ./
complete_profile.module, line 81
Code
function complete_profile_field_create_instance($instance) {
// A new required user field has been added. Reset the timestamp check.
if ($instance['entity_type'] == 'user' && !empty($instance['required'])) {
complete_profile_update_check_timestamp();
}
}