Created
August 24, 2015 17:21
-
-
Save soncco/72dd64f51dfdb120ea66 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
function epsacrop_element_info_alter(&$type) { | |
$type['managed_file']['#process'][] = 'epsacrop_element_process'; | |
if (module_exists('multiupload_filefield_widget')) { | |
$type['mfw_managed_file']['#process'][] = 'epsacrop_element_process'; | |
} | |
if (module_exists('media')) { | |
$type['media']['#process'][] = 'epsacrop_element_process'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment