You are here

function filefield_source_elfinder_info in elFinder file manager 6

Same name and namespace in other branches
  1. 8.2 modules/elfinder_ffsel/elfinder_ffsel.module \filefield_source_elfinder_info()
  2. 6.2 modules/elfinder_ffsel/elfinder_ffsel.module \filefield_source_elfinder_info()
  3. 7.3 modules/elfinder_ffsel/elfinder_ffsel.module \filefield_source_elfinder_info()
  4. 7 modules/elfinder_ffsel/elfinder_ffsel.module \filefield_source_elfinder_info()
  5. 7.2 modules/elfinder_ffsel/elfinder_ffsel.module \filefield_source_elfinder_info()

Implementation of hook_filefield_source_info().

File

modules/elfinder_ffsel/elfinder_ffsel.module, line 34

Code

function filefield_source_elfinder_info() {
  $source = array();
  if (!module_exists('elfinder')) {
    return $source;
  }
  $source['elfinder'] = array(
    'name' => t('elFinder'),
    'label' => t('elFinder File browser'),
    'description' => t('Select a file to use from a file browser.'),
    'process' => 'filefield_source_elfinder_process',
    'value' => 'filefield_source_elfinder_value',
    'weight' => -1,
  );
  return $source;
}