function references_dialog_get_field_search_links in References dialog 7
2 string references to 'references_dialog_get_field_search_links'
- hook_references_dialog_widgets in ./
references_dialog.api.php - Define a widget to which you want to attach add, search or edit links.
- references_dialog_references_dialog_widgets in ./
references_dialog.dialog_widgets.inc - Implements hook_references_dialog_widgets().
File
- ./
references_dialog.module, line 604 - This the main module file.
Code
function references_dialog_get_field_search_links($element, $widget_settings, $field, $instance) {
// We pack the necessary information for getting a field instance together in the
// url, so that we can retrieve the field instance and attach it to the view
// later on.
$attachable = _references_dialog_get_attachable_name_by_instance($instance);
return references_dialog_get_views_search_links($attachable);
}