Allow multiple activity types per answer plugin, add a null plugin

Created on 6 August 2024, 5 months ago
Updated 12 September 2024, 3 months ago

Problem/Motivation

Currently each activity type must have its own plugin and we can have only one per plugin.

Proposed resolution

It'll be better if we allowed to add as many activity types as the end user wants to and just link each to a plugin (this way we can for example have 2 activity types that look differently - layout, fields, etc, but will share the same question - answer plugin).

  • Use the standard Drupal way of managing activity type bundles.
  • Rename activity-answer plugins to question-answer.
  • Add a required question-answer plugin field on activity type.
  • Provide a NULL plugin in addition to the existing ones for read-only activity types.
  • Reduce config installed with question-answer plugins to required field storage definitions only, add a buildConfigurationForm() method to add the required field elements.
📌 Task
Status

Fixed

Version

1.0

Component

Activities and answers

Created by

🇬🇧United Kingdom catch

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024