function vsf_manualcrop_visual_select_file_formatter_options_alter in Visual select file 7
Implements hook_visual_select_file_formatter_options_alter().
File
- submodules/
vsf_manualcrop/ vsf_manualcrop.module, line 165
Code
function vsf_manualcrop_visual_select_file_formatter_options_alter(&$options, &$context) {
// Take style from return URL to select by default.
if (!empty($_GET['vsf_manualcrop'])) {
$context['default_formatter'] = (string) $_GET['vsf_manualcrop'];
}
}