You are here

function imageeditor_filefield_sources_info in Image Editor 6

File

./imageeditor.module, line 1067
Allows online editing of images using different image editing services.

Code

function imageeditor_filefield_sources_info() {
  $sources = array();
  if (!user_access('use imageeditor')) {
    return $sources;
  }
  $sources['imageeditor'] = array(
    'name' => t('Image editor: Create new image'),
    'label' => t('Create image'),
    'description' => t('Create new image in image editors.'),
    'process' => 'imageeditor_filefield_source_imageeditor_process',
    'weight' => 5,
  );
  return $sources;
}