You are here

function email_widget_info in Email Field 6

Same name and namespace in other branches
  1. 5 email.module \email_widget_info()
  2. 6.2 email.module \email_widget_info()

Implementation of hook_widget_info().

File

./email.module, line 162

Code

function email_widget_info() {
  return array(
    'email_textfield' => array(
      'label' => t('Text field'),
      'field types' => array(
        'email',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}