Create reference field for a quiz attached to content

Created on 21 November 2014, almost 10 years ago
Updated 26 July 2024, 3 months ago

Follow-up to #2378365: Convert Quiz to D7 Entity API β†’

Problem/Motivation

If a Quiz is just an entity, there is really no good way to get to it unless you know the URL or there is some special view listing Quizzes. The current behavior of Quiz is to act as content, which I believe is a behavior we should preserve.

If a Quiz entity can be attached to content it makes it easier for admins to organize for the users to take a quiz, similar to the way it is set up in Quiz 4 and 5.

Proposed resolution

Create a quiz reference field and let it be attached to nodes.
Allow that field to reference a Quiz.

Look at how Commerce and Registration module do this, with "Entity local" tasks being put on the content.

Remaining tasks

User interface changes

API changes

Original report by @username

πŸ“Œ Task
Status

Closed: outdated

Version

5.0

Component

Code - Quiz core

Created by

πŸ‡ΊπŸ‡ΈUnited States djdevin Philadelphia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡ΊπŸ‡ΈUnited States smustgrave

    With D7 approaching EOL soon I've started the process of triaging the D7queue here. Since there hasn't been any movement on this going to close out.

Production build 0.71.5 2024