You are here

function hook_imce_uploader in IMCE Uploader 7

Register list of uploaders to IMCE.

Each item may have the following properties

  • title: The name of uploader.
  • description: The description of uploader.
  • callback: Process function of uploader when imce's called.
  • weight: The weight of this uploader in the list.

Return value

array List of uploaders.

1 function implements hook_imce_uploader()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

imce_uploader_plupload_imce_uploader in plugins/plupload/imce_uploader_plupload.module
Implements hook_imce_uploader().
1 invocation of hook_imce_uploader()
imce_uploader_get_uploaders in ./imce_uploader.module
Get the list of uploaders.

File

./imce_uploader.api.inc, line 20
API documentation for IMCE Uploader.

Code

function hook_imce_uploader() {
  $uploaders = array();
  $uploaders['plupload'] = array(
    'title' => t('Plupload'),
    'description' => t('Allows you to upload multiple files using HTML5, Gears, Silverlight, Flash, BrowserPlus or normal forms.'),
    'callback' => 'imce_uploader_plupload',
  );
  return $uploaders;
}