Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294220

The EntityTestWithBundle entity should be revisionable

$
0
0

Problem/Motivation

While writing tests for #2875867: Add per-bundle unpublished content permissions I noticed that the EntityTestWithBundle entity isn't revisionable even though it extends ContentEntityBase, which implements RevisionableInterface.

I'm not sure if it's intentional that this entity type doesn't declare a revisionable entity key or not, but if it's just an oversight, then it probably should be revisionable.

Proposed resolution

Declare the "revision" entity key.

Remaining tasks

User interface changes

API changes

Data model changes


Viewing all articles
Browse latest Browse all 294220

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>