Part of the Entity ecosystem · 308 projects
This module provides a formatter for entity reference fields that allows you to display a specific subset of items when the field has multiple values. You can select items by their position, range, or comma-separated list.
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.
Ask your assistant about Entity Delta Formatter
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Entity ecosystem
Most installed first