function theme_iframe_formatter_default in Iframe 6
Theme function for 'default' text field formatter.
File
- ./
iframe.module, line 640 - Defines simple iframe field types. based on the cck-module "link" by quicksketch MODULE-Funtions
Code
function theme_iframe_formatter_default($element) {
dmsg(3, 'func theme_iframe_formatter_default');
// If no url given display nothing.
if (empty($element['#item']['url'])) {
return '';
}
// Display all
return iframe_iframe($element['#item']['display_title'], $element['#item']['url'], $element['#item']);
}