function _epsacrop_get_crop_presets in EPSA Crop - Image Cropping 6
Same name and namespace in other branches
- 6.2 epsacrop.module \_epsacrop_get_crop_presets()
Helper function for returning simple array with only imagecache preset actions with croping.
1 call to _epsacrop_get_crop_presets()
- epsacrop_widget_settings_alter in ./
epsacrop.module - Implementation of hook_widget_settings_alter().
File
- ./
epsacrop.module, line 584 - The main file of module
Code
function _epsacrop_get_crop_presets() {
$actions = _epsacrop_get_crop_actions();
$presets = array();
foreach ($actions as $preset) {
$presets[$preset['presetname']] = $preset['presetname'];
}
return $presets;
}