You are here

function nodequeue_reference_field_widget_info in Nodequeue reference 7

Implements hook_field_widget_info().

File

./nodequeue_reference.module, line 120
Form field type for node queues.

Code

function nodequeue_reference_field_widget_info() {
  return array(
    'nodequeue_reference_autocomplete' => array(
      'label' => t('Autocomplete nodequeue field'),
      'field types' => array(
        'nodequeue_reference',
      ),
      'settings' => array(
        'size' => 60,
        'autocomplete_path' => 'nodequeue_reference/autocomplete',
        'autocomplete_match' => 'contains',
        'link' => 0,
      ),
      'property_type' => 'integer',
    ),
  );
}