You are here

function linkimagefield_field_formatter_info in Link Image Field 5

Same name and namespace in other branches
  1. 6 linkimagefield.module \linkimagefield_field_formatter_info()
  2. 7 linkimagefield.module \linkimagefield_field_formatter_info()

Implementation of hook_field_formatter_info().

File

./linkimagefield.module, line 577
Defines an link image field type. linkimagefield uses content.module to store the fid, and the drupal files table to store the actual file data.

Code

function linkimagefield_field_formatter_info() {
  $formatters = array(
    'default' => array(
      'label' => 'Default',
      'field types' => array(
        'linkimage',
      ),
    ),
  );
  return $formatters;
}