1 views_plugin_display_block.inc | views_plugin_display_block::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.
Overrides views_plugin_display::uses_exposed_form_in_block
File
- core/
modules/ views/ plugins/ views_plugin_display_block.inc, line 505 - Contains the block display plugin.
Class
- views_plugin_display_block
- The plugin that handles a block.
Code
function uses_exposed_form_in_block() {
return (bool) $this->get_option('inherit_path');
}