Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294902

Allow exposed-form-in-block for block displays

$
0
0

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.


Viewing all articles
Browse latest Browse all 294902

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>