The Entity Delta Formatter module provides a field formatter for entity
reference fields that displays a selected set of items from a field with
multiple items.
Install
- Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/docs/8/extending-drupal-8/installing-drupal-8-mod...
for further information.
Usage
-
Set the field formatter for an entity reference field to
"Rendered entities by delta". -
In the configuration menu, specify deltas.
- Select an item by entering its position in the list starting with 1.
-
Select an item from the end of the list by entering its position from the
end as a negative number. E.g. "-2" to get the second to last item. -
Select ranges of items by specifying the inclusive start and end separated
by "_". E.g. "1_3" to get the first, second and third items or "2_-1" to get
all items but the first. -
Multiple selections may be combined using commas. E.g "1_3, -1" to get the
first, second, third, and last items.
Supporting organizations:
Project information
- Project categories: Site structure
14 sites report using this module
- Created by c7bamford on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
8.x-2.1
released 14 March 2024
Works with Drupal: ^8 || ^9 || ^10
Install:
Development version: 8.x-2.x-dev updated 14 Mar 2024 at 15:12 UTC
