You are here

function references_dialog_widgets in References dialog 7

Return an array of supported widgets.

6 calls to references_dialog_widgets()
references_dialog_element_info_alter in ./references_dialog.module
Implements hook_element_info_alter().
references_dialog_field_widget_info_alter in ./references_dialog.module
Implements hook_widget_info_alter().
references_dialog_form_field_ui_field_edit_form_alter in ./references_dialog.module
Implements hook_form_alter().
references_dialog_process_widget in ./references_dialog.module
Add our references dialog fields to the existing element
references_dialog_references_dialog_search_attachables in ./references_dialog.module
Implements hook_references_dialog_search_attachables().

... See full list

File

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

Code

function references_dialog_widgets() {
  $widgets =& drupal_static(__FUNCTION__);
  if ($widgets === NULL) {
    $widgets = module_invoke_all('references_dialog_widgets');
    drupal_alter('references_dialog_widgets', $widgets);
  }
  return $widgets;
}