- Issue created by @sime
I am using
📌
Create the revision UI for profiles
Needs review
to show the revision UI and I noticed the revision dates don't change. After digging around it appears that it doesn't get a timestamp because $profile->revision
doesn't get set to TRUE in the buildEntity() process. This is because ProfileType
doesn't implement RevisionableEntityBundleInterface
and doesn't pass this check.
This then causes setRevisionCreationTime()
to not be run because it fails this check.
Turn on the setting to create new revisions by default. Save some new revisions, and note the revision_created
column in profile_revision
table.
I assume implement RevisionableEntityBundleInterface.
Active
1.0
Code