Created
February 10, 2014 18:51
-
-
Save dsnopek/8921849 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements hook_field_default_field_instance_alter(). | |
* | |
* Add digests if message_digest is enabled. | |
*/ | |
function oa_messages_field_default_field_instance_alter(&$items) { | |
if (module_exists('message_digest')) { | |
// Replace '...' with actual values. | |
$items[...] = array( | |
// ... | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment