function imagefield_field_formatter_info in ImageField 6.3
Same name and namespace in other branches
- 5.2 imagefield.module \imagefield_field_formatter_info()
- 5 imagefield.module \imagefield_field_formatter_info()
Implementation of CCK's hook_field_formatter_info().
File
- ./
imagefield.module, line 238
Code
function imagefield_field_formatter_info() {
$module_path = drupal_get_path('module', 'imagefield');
$formatters = array(
'image_plain' => array(
'label' => t('Image'),
'field types' => array(
'filefield',
),
'description' => t('Displays image files in their original size.'),
),
'image_nodelink' => array(
'label' => t('Image linked to node'),
'field types' => array(
'filefield',
),
'description' => t('Displays image files in their original size.'),
),
'image_imagelink' => array(
'label' => t('Image linked to file'),
'field types' => array(
'filefield',
),
'description' => t('Displays image files in their original size.'),
),
);
return $formatters;
}