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.
Problem/Motivation
To be able to use entity operations (e.g. in views) an entity type needs a list builder to be defined.
Proposed resolution
Add a list builder.
Remaining tasks
Add more fields.
User interface changes
None (for now); quiz provides views for quiz result lists
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#3 | 3232045-2.patch | 1.71 KB | casey |
Comments
Comment #2
casey CreditAttribution: casey as a volunteer and at SWIS commentedNote that I added the list builder to Drupal\quiz\Entity, while all other list builders that the quiz module provides are in Drupal\quiz\Config\Entity (even for all content entity types).
Also I only added only two columns, while I think the default should provide more columns.
For now I only needed the entity operations views field to be available.
Comment #3
casey CreditAttribution: casey as a volunteer and at SWIS commentedComment #5
djdevinThat's fine for now.
There is already a bundled view at admin/quiz/reports/results with more data.