function email_field_widget_settings_form

cis7 email.module email_field_widget_settings_form($field, $instance)
cle7 email.module email_field_widget_settings_form($field, $instance)
elmsmedia7 email.module email_field_widget_settings_form($field, $instance)
icor7 email.module email_field_widget_settings_form($field, $instance)
meedjum_blog7 email.module email_field_widget_settings_form($field, $instance)
mooc7 email.module email_field_widget_settings_form($field, $instance)

Implements hook_field_widget_settings_form().

File

sites/all/modules/ulmus/email/email.module, line 161
Module file for the email module, which creates a email address field.

Code

function email_field_widget_settings_form($field, $instance) {
  $widget = $instance['widget'];
  $settings = $widget['settings'];

  $form['size'] = array(
    '#type' => 'textfield',
    '#title' => t('Size of textfield'),
    '#default_value' => $settings['size'],
    '#required' => TRUE,
    '#element_validate' => array('_element_validate_integer_positive'),
  );
  return $form;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.