function file_entity_hook_info

cis7 file_entity.module file_entity_hook_info()
cle7 file_entity.module file_entity_hook_info()
elmsmedia7 file_entity.module file_entity_hook_info()
icor7 file_entity.module file_entity_hook_info()
meedjum_blog7 file_entity.module file_entity_hook_info()
mooc7 file_entity.module file_entity_hook_info()

Implements hook_hook_info().

File

sites/all/modules/ulmus/file_entity/file_entity.module, line 39
Extends Drupal file entities to be fieldable and viewable.

Code

function file_entity_hook_info() {
  $hooks = array(
    'file_operation_info',
    'file_operation_info_alter',
    'file_type_info',
    'file_type_info_alter',
    'file_formatter_info',
    'file_formatter_info_alter',
    'file_view',
    'file_view_alter',
    'file_displays_alter',
    'file_type',
    'file_type_alter',
    'file_download_headers_alter',
    'file_entity_access',
  );

  return array_fill_keys($hooks, array('group' => 'file'));
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.