Consider using hook_entity_prepare_form() rather than routes to integrate Content Moderation with entity forms

Created on 31 January 2018, almost 7 years ago
Updated 5 September 2024, 4 months ago

Problem/Motivation

(This came up in #2860097: Ensure that content translations can be moderated independently .)

Using hook_entity_prepare_form(), instead of relying on routes (and its load_latest_revision flag) to integrate Content Moderation with entity forms. This would have the following advantages over the current approach:

  • it would support nested entity forms
  • it would support multiple unrelated entity forms on the same route

OTOH it would have the drawback of making things less explicit.

Proposed resolution

Use hook_entity_prepare_form().

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

📌 Task
Status

Postponed: needs info

Version

11.0 🔥

Component
Content moderation 

Last updated 20 days ago

Created by

🇧🇪Belgium wim leers Ghent 🇧🇪🇪🇺

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.

Production build 0.71.5 2024