I made a custom entity that extends RevisionableContentEntityBase
. I can use the web interface to create entities. If I edit an entity and check the box Create new revision
then a new revision will be created. There is no configuration form available to set the default for Create new revision
.
The custom entity is quite simple. It has a few base fields and was built using drush generate module-content-entity
.
How do I make my custom entity create a new revision by default?