Problem/Motivation
It turned out, that for layouts and landing pages as most important component will be block that displays content lists (for example, articles, media entities, etc.).
Proposed resolution
Implement block list with following configurable features:
- Source list - allow selection of list that should be used to provide source for list of entities. List can provide different types of entites. List can be provided from different sources, view defined lists, search defined lists, ad-hoc defined lists, etc. For POC implemenation view defined lists will be used.
- Limit - number of elements that will be displayed in list block
- Overwrites - manually defined entities/blocks that will be displayed on specific places. For entity: entity|position; for block: block|config|position
- Unique entites - flag that will define if list block displays unique entities accross whole page.
- View mode - since list with overwrites can provide multiple entity types, view mode selection should provide multi selection of view modes. One view mode per entity type.
Comments
Comment #2
mtodor commentedAccording to ideas proposed in Vienna DrupalCon 2017 BOF listed in #2904129-5: [META] Landing Pages and Layouts, list block should be differently implemented and based on core views module.
According to that, we could change proposal to following:
This feature set would match major requirements for list block.
Main missing parts are:
We need a simplified form to create list block and that could be the first step in views creation wizard.