30 lines
920 B
Markdown
30 lines
920 B
Markdown
# Configurable Views Pane
|
|
|
|
Standalone Drupal module that provides one block plugin for Page Manager / Panels variants:
|
|
|
|
- Plugin ID: `booking_configurable_views_pane`
|
|
- Form fields: `view_id`, `display_id`, `arguments`
|
|
|
|
It lets editors set view target and contextual arguments per block instance, similar to legacy Drupal 7 pane behavior.
|
|
|
|
## Install
|
|
|
|
1. Place this module at:
|
|
`web/modules/custom/configurable_views_pane`
|
|
2. Enable module:
|
|
`drush en configurable_views_pane -y`
|
|
3. Rebuild cache:
|
|
`drush cr`
|
|
|
|
## Use in Page Manager
|
|
|
|
Add block **Configurable Views Pane** and set:
|
|
|
|
- **View ID**: e.g. `audio_resource_embedded_player`
|
|
- **Display ID**: e.g. `default` or `block_1`
|
|
- **Contextual arguments**: e.g. `1770` (comma/pipe/newline separated)
|
|
|
|
## Notes
|
|
|
|
- This module intentionally keeps plugin id `booking_configurable_views_pane` for compatibility with any existing block config already using that id.
|