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.
Once we track the points movement, we need to use dynamic routing to add a tab to display the view(s) of transaction history related to the referencing entity.
Comment | File | Size | Author |
---|---|---|---|
#2 | point-movement.png | 69.42 KB | 谢艳 |
#2 | implement-movement-2883738-1.patch | 39.12 KB | 谢艳 |
Comments
Comment #2
谢艳 CreditAttribution: 谢艳 commentedviews:
1. /point-list
2. /point-movement/all
Comment #3
谢艳 CreditAttribution: 谢艳 commentedComment #4
skyredwangNo. We need to use dynamic routing to add the views to the referencing entities.
For example, if a site admin adds the points field to User entity. Then, we need to create a tab at
/user/%user/<field_name>
to show the related transactions.If a site admin adds the points field to Node entity. Then, we need to create a tab at
/node/%node/<field_name>
to show the related transactions.Comment #6
skyredwang