Add new_revision config and implement RevisionableEntityBundleInterface

Created on 30 January 2022, almost 3 years ago
Updated 6 December 2023, about 1 year ago

Problem/Motivation

Microcontent is revisionable but doesn't implement RevisionableEntityBundleInterface and doesn't contain bundle config for whether or not to create a new revision. (called new_revision on node and media types).

This means that the Create new revision checkbox is always unchecked.

We should probably also add a ModerationHandler and hardset it similar to NodeModerationHandler.

Proposed resolution

Add new_revision config to MicrocontentType + UI
Make MicrocontentType implement RevisionableEntityBundleInterface and shouldCreateNewRevision should draw from the new config option
Add a ModerationHandler implementation for Microcontent.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇦🇺Australia acbramley

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

Merge Requests

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