Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This patch tweaks the way tabs and titles are added to their respective arrays to utilize the field_collection->item_id property instead of the delta / weight of the tab. This may seem trivial but since tab titles and tab ids are generated w/ this value it's allowing for a few things:
- Ability to know which entity a tab / title refers to; I use this data in the rubric module to load contextual links for the tab as an example.
- item_id is unique so that there's better styling support when using nested field collections
Comment | File | Size | Author |
---|---|---|---|
field_collection_tabs-unique-delta-id.patch | 1.58 KB | btopro | |