You are here

function hook_file_formatter_info in D7 Media 7

Define file formatters.

@todo Document key/value pairs that comprise a formatter.

Return value

An array whose keys are file formatter names and whose values are arrays describing the formatter.

See also

hook_file_formatter_info_alter()

1 function implements hook_file_formatter_info()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

file_entity_file_formatter_info in file_entity/file_entity.module
Implements hook_file_formatter_info().
1 invocation of hook_file_formatter_info()
file_info_formatter_types in file_entity/file_entity.file_api.inc
Returns information about file formatters from hook_file_formatter_info().

File

file_entity/file_entity.api.php, line 89
Hooks provided by the File Entity module.

Code

function hook_file_formatter_info() {

  // @todo Add example.
}