You are here

function name_widget_info in Name Field 6

Implementation of hook_widget_info().

File

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

Code

function name_widget_info() {
  return array(
    'name_widget' => array(
      'label' => t('Name'),
      'field types' => array(
        'name',
      ),
      'multiple values' => CONTENT_HANDLE_CORE,
      'callbacks' => array(
        'default value' => CONTENT_CALLBACK_DEFAULT,
      ),
    ),
  );
}