1 file.theme.inc theme_file_type_overview($variables)

Returns HTML for the file type overview page.

Specifically, this returns HTML for a file type name and description.

Deprecated

as of 1.19.4. Labels are now output using the theme_label_machine_name() function, and descriptions are displayed in a separate column.

File

core/modules/file/file.theme.inc, line 353
Theme functions for the File module.

Code

function theme_file_type_overview($variables) {
  watchdog_deprecated_function('theme', __FUNCTION__);
  return check_plain($variables['name']) . '<div class="description">' . filter_xss_admin($variables['description']) . '</div>';
}