function theme_file_formatter_table


Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/
cis7 theme_file_formatter_table($variables)
cle7 theme_file_formatter_table($variables)
elmsmedia7 theme_file_formatter_table($variables)
icor7 theme_file_formatter_table($variables)
meedjum_blog7 theme_file_formatter_table($variables)
mooc7 theme_file_formatter_table($variables)

Returns HTML for a file attachments table.


$variables: An associative array containing:

  • items: An array of file attachments.

Related topics

2 string references to the theme hook from theme_file_formatter_table()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

file_field_formatter_view in modules/file/
Implements hook_field_formatter_view().
file_theme in modules/file/file.module
Implements hook_theme().


modules/file/, line 1013
Field module functionality for the File module.


function theme_file_formatter_table($variables) {
  $header = array(t('Attachment'), t('Size'));
  $rows = array();
  foreach ($variables['items'] as $delta => $item) {
    $rows[] = array(
      theme('file_link', array('file' => (object) $item)),

  return empty($rows) ? '' : theme('table', array('header' => $header, 'rows' => $rows));



Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/ in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/
The website encountered an unexpected error. Please try again later.