function iframe_field_is_empty in Iframe 7
Implements hook_field_is_empty().
File
- ./
iframe.module, line 294 - Defines an iframe field with all attributes.
Code
function iframe_field_is_empty($item, $field) {
if ('iframe' == $field['type']) {
if (empty($item['url'])) {
return TRUE;
}
}
return FALSE;
}