function oembed_file_formatter_oembed_thumbnail_settings in oEmbed 7
Same name and namespace in other branches
- 8 oembed.module \oembed_file_formatter_oembed_thumbnail_settings()
- 7.0 oembed.module \oembed_file_formatter_oembed_thumbnail_settings()
Implements hook_file_formatter_FORMATTER_settings().
1 string reference to 'oembed_file_formatter_oembed_thumbnail_settings'
- oembed_file_formatter_info in ./
oembed.file.inc - Implements hook_file_formatter_info().
File
- ./
oembed.module, line 804 - Core functionality for oEmbed
Code
function oembed_file_formatter_oembed_thumbnail_settings($form, &$form_state, $settings) {
$element = array();
$element['width'] = array(
'#title' => t('Width'),
'#type' => 'textfield',
'#default_value' => $settings['width'],
);
$element['height'] = array(
'#title' => t('Height'),
'#type' => 'textfield',
'#default_value' => $settings['height'],
);
return $element;
}