Make the moderation control form an entity form so that it validates entities before save

Created on 2 February 2017, over 8 years ago
Updated 15 August 2024, 11 months ago

Problem/Motivation

Currently the moderation form that appears on top of draft entities for the purposes of moderation is a custom form. This form doesn't attempt to validate entities before saving them, reducing the overall utility of entity validations.

Proposed resolution

  • Fix this by moving the form into an entity form.
  • For rendering, create a transient view mode, as was done with the layout builder form.

Before:

After:

Remaining tasks

Review + commit.

User interface changes

Minor label changes.

API changes

Render array changes, with a change record.

Data model changes

None.

Release notes snippet

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
Content moderationΒ  β†’

Last updated 7 days ago

  • Maintained by
  • πŸ‡¦πŸ‡ΊAustralia @Sam152
Created by

πŸ‡ΊπŸ‡ΈUnited States bkosborne New Jersey, USA

Live updates comments and jobs are added and updated live.
  • Needs release note

    The major change should have a special release note written to summarize the importance of the change. See Write a release note for an issue.

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