You are here

public function views_plugin_display::uses_exposed_form_in_block in Views (for Drupal 7) 7.3

Same name and namespace in other branches
  1. 6.3 plugins/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.

2 calls to views_plugin_display::uses_exposed_form_in_block()
views_plugin_display::get_special_blocks in plugins/views_plugin_display.inc
Provide the block system with any exposed widget blocks for this display.
views_plugin_display::options_summary in plugins/views_plugin_display.inc
Provide the default summary for options in the views UI.

File

plugins/views_plugin_display.inc, line 842
Definition of views_plugin_display.

Class

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

Code

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