1 views_plugin_display.inc views_plugin_display::uses_exposed_form_in_block()

Check to see if the display can put the exposed form in a block.

By default, displays that do not have a path cannot disconnect the exposed form and put it in a block, because the form has no place to go and Views really wants the forms to go to a specific page.

File

core/modules/views/plugins/views_plugin_display.inc, line 742
Contains the base display plugin.

Class

views_plugin_display
The default display plugin handler. Display plugins handle options and basic mechanisms for different output methods.

Code

function uses_exposed_form_in_block() {
  return $this->has_path();
}