You are here

function theme_filefield_source_elfinder_element in elFinder file manager 7

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

Theme the output of the autocomplete field.

1 theme call to theme_filefield_source_elfinder_element()
filefield_source_elfinder_process in modules/elfinder_ffsel/elfinder_ffsel.module
A #process callback to extend the filefield_widget element type.

File

modules/elfinder_ffsel/elfinder_ffsel.module, line 186

Code

function theme_filefield_source_elfinder_element($variables) {
  $element = $variables['element'];
  $output = drupal_render_children($element);
  return '<div class="filefield-source filefield-source-elfinder clear-block">' . $output . '</div>';
}