Screenshot of the field widget of blizz_dynamic_entitylist
Screenshot of the field settings widget of blizz_dynamic_entitylist

This project is not covered by Drupal’s security advisory policy.

Winner of the 2018 Splash award in the "solutions" category!

Summary

This module provides a way to define dynamic lists of entities using a simple interface. The list definition is stored in a custom field, which can be attached to any fieldable content entity.

The field widget allows editors to enrich their list definitions with filters based upon taxonomy terms and provides a live preview within the edit form on the list result. This result is not static, so every time content matching the list criteria gets entered in the system the output of the list adapts subsequently.

Also, editors are able to choose the view mode in which the entities get rendered.

Key features

- Lists are fields: dynamic entity lists everywhere!
Blizz Dynamic Entitylist provides a custom field, which can be put in any fieldable entity.

- Lists are content, not configuration!
Lists defined by this module are not configuration, but content. Now editors can freely define entity lists without having their developers exporting the defined list configurations into the filesystem to prevent them from being deleted or overwritten at upcoming deployments.

- Utilizes the core entity query ecosystem
Lists of entities are built upon dynamically generated entity queries, which are fast and lightweight. The results of these queries are fully tagged with all necessary cache tags and only get refreshed automatically when contained entities change, get deleted or new entities matching the list criteria get added.

- Intuitive field widget
Ever thought about trying to teach non-technicians the use of the views UI? What seems like an impossible task is made unnecessary with Blizz Dynamic Entitylists: the module implements an intuitive, easy-to-use interface asking editors step-by-step what the list should display.

- Flexible taxonomy-based filtering
Blizz Dynamic Entitylist automatically scans the entity type/bundle(s) selected to list for fields holding references to taxonomy terms and provides means to filter the lists using these fields utilizing an easy-to-use autocomplete.

- View mode selection
Editors can choose the view modes the list entities get rendered in. These entities then get rendered via their registered view builders, so there is no need for a custom theming.

- List preview
While still editing the list criteria, editors get a live preview of the list output.

- Lists all types of content entities with their native view builders
Blizz Dynamic Entitylist is able to generate lists of every content entity type defined in the system and uses their registered view builders to render the output.

- Flexible and powerful field setting widget
Sitebuilders have full control over which entity types, which bundles and/or which view modes are available within the field widget.

Installation Requirements

This module only utilizes Drupal core features and has no other dependencies.

Installation

Installation as usual: Place the directory of this module within /modules (or maybe /modules/contrib). When using composer use composer require drupal/blizz_dynamic_entitylist.

Enable the module by navigating to Administer > Extend and checking the "Enabled" checkbox on "Blizz Dynamic Entitylist" (or simply use drush: drush en blizz_dynamic_entitylist).

Supporting organizations: 

Project information

Releases