You are here

function name_field_widget_info in Name Field 7

Implements hook_field_widget_info().

File

./name.module, line 1073
Defines an API for displaying and inputing names.

Code

function name_field_widget_info() {
  return array(
    'name_widget' => array(
      'label' => t('Name'),
      'field types' => array(
        'name',
      ),
      'behaviors' => array(
        'multiple values' => FIELD_BEHAVIOR_DEFAULT,
        'default value' => FIELD_BEHAVIOR_DEFAULT,
      ),
      'settings' => array(),
    ),
  );
}