Problem/Motivation
It is possible to embed a view block to a page_manager display. But if we want better layout control, we would need to use exposed-form-in-block option, which is currently unavailable for blocks.
Proposed resolution
Currently \Drupal\views\Plugin\views\display\Block::usesExposedFormInBlock()
returns $this->hasPath()
. This can be changed to TRUE
.
This will work well, because views always uses <current>
route when view-URL/display-path is not available, for example: http://cgit.drupalcode.org/drupal/tree/core/modules/views/src/Form/Views...
Remaining tasks
+ write patch
- review
User interface changes
The "Exposed form in block" option will be available on block displays.
API changes
None.
Data model changes
None.