You are here

function filefield_field_formatter_info in FileField 6.3

Same name and namespace in other branches
  1. 5.2 filefield.module \filefield_field_formatter_info()
  2. 5 filefield.module \filefield_field_formatter_info()
  3. 6.2 filefield.module \filefield_field_formatter_info()

Implementation of CCK's hook_field_formatter_info().

File

./filefield.module, line 449
FileField: Defines a CCK file field type.

Code

function filefield_field_formatter_info() {
  return array(
    'default' => array(
      'label' => t('Generic files'),
      'field types' => array(
        'filefield',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'description' => t('Displays all kinds of files with an icon and a linked file description.'),
    ),
    'path_plain' => array(
      'label' => t('Path to file'),
      'field types' => array(
        'filefield',
      ),
      'description' => t('Displays the file system path to the file.'),
    ),
    'url_plain' => array(
      'label' => t('URL to file'),
      'field types' => array(
        'filefield',
      ),
      'description' => t('Displays a full URL to the file.'),
    ),
  );
}