You are here

function hook_file_formatter_info in File Entity (fieldable files) 7

Same name and namespace in other branches
  1. 7.3 file_entity.api.php \hook_file_formatter_info()
  2. 7.2 file_entity.api.php \hook_file_formatter_info()

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.module
Implements hook_file_formatter_info().
1 invocation of hook_file_formatter_info()
file_info_formatter_types in ./file_entity.file_api.inc
Returns information about file formatters from hook_file_formatter_info().

File

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

Code

function hook_file_formatter_info() {

  // @todo Add example.
}