You are here

function filefield_source_elfinder_info in elFinder file manager 8.2

Same name and namespace in other branches
  1. 6.2 modules/elfinder_ffsel/elfinder_ffsel.module \filefield_source_elfinder_info()
  2. 6 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 33

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('Uses elFinder file manager for file selection'),
    'process' => 'filefield_source_elfinder_process',
    'value' => 'filefield_source_elfinder_value',
    'weight' => -1,
  );
  return $source;
}