Install
Works with Drupal: ^11.1Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
19.61 KB
MD5: 4655f634cdcc61cb4538e946f3302e27
SHA-1: 544eac8f54338c2a86a43ccc49f1555634ec0668
SHA-256: 3d2ecad350f6564c74f2ab8ffa2f0544f7f906f50c2e35cf6b52f71a01ea9513
Download zip
23.76 KB
MD5: a5b64f812de2e2aa3284cc7ab7b63235
SHA-1: 2fc8ce8da854f4945c011fb48b630f8b9a4ccd1f
SHA-256: 893228ac131518a8b1c86874c21432b623e8adfd0e5af6d7c5e67d7668a00ba6
Release notes
First beta release of Views Block View Mode for Drupal 11.
This module lets each placed Views block choose its own view mode, instead of always using the view mode set in the view. The view's view mode stays the default, and each block placement (Block layout or Layout Builder) can override it.
Features
- New Select view mode option under Block settings > Allow settings on Views block displays.
- View mode select list in the block configuration form, with a - View default - option.
- Works with any entity row style (Content, Taxonomy term, User, Media, and so on).
- Falls back to the view's view mode if a chosen view mode is deleted.
- Keeps all Chaos Tools Views (ctools_views) block options working.
- Config schema for the new settings, so block and view configuration exports cleanly.
Requirements
- Drupal 11.1 or later
- Chaos Tool Suite (ctools) 4.1 or later, with Chaos Tools Views enabled
Known issues
- Only one module can replace the Views block display class. If a module other than ctools_views also replaces it, the view mode option is not available.
- All view modes of the entity type are offered; the list cannot yet be limited per view.
This is a beta release: please test it and report any problems in the issue queue before the stable 1.0.0 release.