You are here

function references_dialog_field_widget_info in References dialog 7

Implements hook_field_widget_info().

File

./references_dialog.module, line 836
This the main module file.

Code

function references_dialog_field_widget_info() {
  return array(
    'references_dialog_term_reference' => array(
      'label' => t('Autocomplete term widget for References Dialog'),
      'field types' => array(
        'taxonomy_term_reference',
      ),
      'settings' => array(
        'size' => 60,
        'autocomplete_path' => 'taxonomy/autocomplete',
        'autocomplete_match' => 'starts_with',
      ),
    ),
  );
}