function video_field_formatter_info in Video 7
Same name and namespace in other branches
- 6.5 video.module \video_field_formatter_info()
- 6.4 video.module \video_field_formatter_info()
- 7.2 video.field.inc \video_field_formatter_info()
Implementation of CCK's hook_field_formatter_info().
File
- ./
video.field.inc, line 357 - Implement an video field, based on the file module's file field.
Code
function video_field_formatter_info() {
$formatters = array(
'video' => array(
'label' => t('Video'),
'field types' => array(
'video',
),
'settings' => array(
'video_style' => '',
'video_link' => '',
),
),
'video_thumbnail' => array(
'label' => t('Video thumbnail'),
'field types' => array(
'video',
),
'settings' => array(
'video_style' => '',
'video_link' => '',
),
),
);
return $formatters;
}