function imageeditor_widget_settings in Image Editor 6
A list of settings needed by Pixlr module on widgets.
1 call to imageeditor_widget_settings()
- imageeditor_widget_settings_alter in ./
imageeditor.module - Implementation of hook_widget_settings_alter().
File
- ./
imageeditor.module, line 542 - Allows online editing of images using different image editing services.
Code
function imageeditor_widget_settings() {
$items = array(
// imageeditor options
'imageeditor_icons_position',
'imageeditor_replace',
);
// enabled image editors
foreach (imageeditor_editors() as $codename => $editor) {
$items[] = $codename . '_enabled';
$items[] = $codename . '_position';
}
// enabled uploaders
foreach (imageeditor_uploaders() as $codename => $uploader) {
$items[] = $codename . '_enabled';
$items[] = $codename . '_position';
}
return $items;
}