[D8] Template per item

Contribution Date
Technology
Contribution Details

The module aims to provide a new field formatter for entity reference field. The "Template per item" provides new template suggestions for each bundle added in a multi valued entity reference field.

Known problems:

Currently it is not possible witch any multi valued field including entity reference filed to have different template for each item added in the field. Sometime user may require each element from different bundles to have different look and feel which is not possible with the existing formats. The workaround may be to use "Rendered entity" field format by using a designated view mode but this does not work with "Block content" entities.

Project link:
https://www.drupal.org/sandbox/adaptative/2838691

Git clone:

git clone --branch 8.x-1.x-dev https://git.drupal.org/sandbox/adaptative/2838691.git template_per_item

Issue Status
Active
Contribution Author
Files count
3
Patches count
0