Add events for important actions

Created on 9 May 2024, about 2 months ago
Updated 30 May 2024, 29 days ago

Problem/Motivation

Right now its very hard to do minor adjustments to prompts, configurations prerun via code and impossible to get an overview of what built the results postrun. This makes testing off the best prompts and configurations hard on a large scale.

Proposed resolution

Add events that can be subscribed on the following steps during generation:

  • preFieldSelection - should the field be processed, an external module can opt out a field from processing even if it should or shouldn't.
  • preRunConfig - change the configuration before running it. This includes configs and prompts.
  • isValid - change whether a rule is allowed to be sued under certain circumstances.
  • verboseData - only information, this gives back information from the generation that the rule wants to share.
  • storeValues - change the created values before storing them.

Documentation changes

Document all events possible and what to expect here: https://www.drupal.org/docs/extending-drupal/contributed-modules/contrib... β†’

✨ Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany Marcus_Johansson

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

Comments & Activities

Production build 0.69.0 2024