You are here

function autocomplete_widgets_element_info in Autocomplete Widgets for Text and Number Fields 7

Implementation of hook_element_info().

Autocomplete_path is not used by text_widget but other widgets can use it.

File

./autocomplete_widgets.module, line 46
Provides autocomplete widgets for Text and Number fields.

Code

function autocomplete_widgets_element_info() {
  return array(
    'autocomplete_widgets' => array(
      '#input' => TRUE,
      '#columns' => array(
        'value',
      ),
      '#delta' => 0,
      '#process' => array(
        'autocomplete_widgets_element_process',
        'form_process_autocomplete',
      ),
      '#autocomplete_path' => FALSE,
    ),
  );
}