drupal-code-generator icon indicating copy to clipboard operation
drupal-code-generator copied to clipboard

Add Revision UI while generating a content entity

Open bhanu951 opened this issue 3 years ago • 4 comments

As per the Issue #2350939 on Drupal.org we can have Revision UI for Revisionable Entities.

Update Content Entity Generator class to include Revision UI annotations in Entity Class .

The CR has additional details for the syntaxes

Edit:

We might need to consider the changes that might be introduced in the issue #2976861 as well. Thanks.

bhanu951 avatar Oct 31 '22 12:10 bhanu951

Related #39.

The revision UI for custom entities will be available in Drupal ~~8.1~~ 10.1. I wonder if we can support it without breaking compatibility with Drupal ~~8.0~~ 10.0.

Chi-teck avatar Oct 31 '22 12:10 Chi-teck

I'm surprised this module is supporting Drupal 8.0? Drupal 8 (especially 8.0) is pretty far past end of life.

greggles avatar Oct 31 '22 14:10 greggles

Sorry, I misspelled versions in the previous comment. DCG 3 supports only Drupal 10.

Chi-teck avatar Oct 31 '22 14:10 Chi-teck

OK, got it. Looks like Drupal 10.0 will be with us until December 13, 2023 (UTC) so I agree it's good to support that :)

Thanks!

greggles avatar Oct 31 '22 14:10 greggles

Fixed in #128.

Chi-teck avatar Apr 08 '24 10:04 Chi-teck