You are here

function text_noderef_field_widget_info in Text or Nodereference 7

Implements hook_field_widget_info().

File

./text_noderef.module, line 136
Text or nodereference field formatter for a text field and autocomplete widget.

Code

function text_noderef_field_widget_info() {
  return array(
    'text_noderef_textfield' => array(
      'label' => t('Text or node reference field'),
      'description' => t('Autocomplete for existing text field data and/or given node titles.'),
      'field types' => array(
        'text',
      ),
      'settings' => array(
        'size' => 60,
        'bundles' => array(),
        'autocomplete_match' => 'starts_with',
        'case_sensitive' => 0,
      ),
    ),
  );
}