function references_dialog_plugin_display::query in References dialog 7
Inject anything into the query that the display handler needs.
Overrides views_plugin_display::query
File
- views/
references_dialog_plugin_display.inc, line 194 - Contains the default display plugin.
Class
- references_dialog_plugin_display
- A plugin to handle defaults on a view.
Code
function query() {
// At this point we need to see if our widget needs to inject something
// into the query in order to filter out unwanted data.
if (isset($this->view->references_dialog['attachable']['query'])) {
$this->view->references_dialog['attachable']['query']($this->view);
}
}