function file_styles_module_implements_alter in Styles 7.2
Implements hook_module_implements_alter().
File
- contrib/
file_styles/ file_styles.module, line 217 - styles/contrib/file_styles/file_styles.module File widget formatter definitions.
Code
function file_styles_module_implements_alter(&$implementations, $hook) {
if ($hook == 'entity_info_alter') {
// Move my_module_rdf_mapping() to the end of the list. module_implements()
// iterates through $implementations with a foreach loop which PHP iterates
// in the order that the items were added, so to move an item to the end of
// the array, we remove it and then add it.
$group = $implementations['file_styles'];
unset($implementations['file_styles']);
$implementations['file_styles'] = $group;
}
}