function oembed_field_formatter_info in oEmbed 7
Same name and namespace in other branches
- 7.0 oembed.module \oembed_field_formatter_info()
Implements hook_field_formatter_info().
File
- ./
oembed.field.inc, line 11 - Field module functionality for the oEmbed module.
Code
function oembed_field_formatter_info() {
$formatters = array(
'oembed_default' => array(
'label' => t('OEmbed'),
'field types' => array(
'link_field',
),
'description' => t('Embeds links if possible - otherwise just links them.'),
'settings' => array(
'maxwidth' => '',
'maxheight' => '',
),
),
);
return $formatters;
}