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
In #2709887: [META] Data model: Decide how to handle Households we identified the need to have custom business logic available to activity entities. Example of such a logic would be interaction with the display of the activity, overriding label, altering entity after it was created, ...
Proposed resolution
- Create plugin type
- create default plugin
- add plugins to the activity type bundles
- use them in the activity entity flow
Comments
Comment #2
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedSeems that all child issues were fixed. Is there something missing that prevents this Meta issue to be fixed/closed?
Comment #3
miro_dietikerAt inmail, we have created mock-ups for mail processing and activity display of mail - also to use in context of a contact.
#2804587: Create mail display mock-ups
Note that on click, the full mail should be displayed and we even consider detecting mail threads so that the user can see a whole conversation.
Inmail offers a mail display render element that can offer a teaser rendering that would perfectly fit for the activity output.
The message should be referenced by the activity and the plugin should be consulted on the fly to create the rich summary. We could store some plaintext version for filter reasons, but first we need activity and plugins for the most important record types we need.
Comment #4
mbovan CreditAttribution: mbovan at MD Systems GmbH commentedAdding related issue.
Comment #5
grahlComment #6
grahlClosing this in favor of #2928770: Activities: Finish plugin architecture to finish this.