function file_styles_styles_default_presets_alter in Styles 7.2
Implements hook_styles_default_presets().
File
- contrib/
file_styles/ includes/ styles/ file_styles.styles.inc, line 211 - styles/contrib/file_styles/includes/styles/file_styles.styles.inc Implementations of various Styles hooks.
Code
function file_styles_styles_default_presets_alter(&$styles) {
if (module_exists('media')) {
$styles['media'] = $styles['file'];
}
}