Last active
October 19, 2018 16:48
-
-
Save DanLaufer/fdecaac08432db257d517c5c5854519f to your computer and use it in GitHub Desktop.
Drupal 8 - Get index of paragraph entity in a reference field
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set index_of_paragraph = content.field_summary['#object']._referringItem.getName() %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment