function references_dialog_widget_load in References dialog 7
Load a particular widget.
Parameters
string $widget: The name of the widget.
Return value
array The widget definition.
3 calls to references_dialog_widget_load()
- references_dialog_field_attachable_query in ./
references_dialog.module - This query is used by field referneces dialog attachables.
- references_dialog_process_widget in ./
references_dialog.module - Add our references dialog fields to the existing element
- references_dialog_settings_form in ./
references_dialog.module - A widget settings form for our references dialog fields.
File
- ./
references_dialog.module, line 324 - This the main module file.
Code
function references_dialog_widget_load($widget) {
$widgets = references_dialog_widgets();
return $widgets[$widget];
}