function iframe_DISABLED_field_widget_settings_form in Iframe 7
Implements hook_field_widget_settings_form().
File
- ./
iframe.module, line 616 - Defines an iframe field with all attributes.
Code
function iframe_DISABLED_field_widget_settings_form($field, $instance) {
$widget = $instance['widget'];
$settings = $widget['settings'];
iframe_debug(1, 'iframe_field_widget_settings_form', array(
'field' => $field,
'instance' => $instance,
));
$form = array();
/*
$form['field_widget_settings_form'] = array(
'#type' => 'textfield',
'#title' => t('field_widget_settings_form'),
'#default_value' => $settings['width'],
'#required' => TRUE,
//'#element_validate' => array('element_validate_integer_positive'),
);
*/
return $form;
}