Skip to content

Commit 74c2dc6

Browse files
authored
Merge pull request #140 from Chi-teck/issue-117
Fails to generate revisionable content entity
2 parents f7802a4 + 2f08505 commit 74c2dc6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

templates/Entity/_content-entity/src/Entity/Example.php.twig

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,12 +108,8 @@ use Drupal\Core\Entity\EntityChangedTrait;
108108
* },
109109
{% if revisionable %}
110110
* revision_metadata_keys = {
111-
{% if author_base_field %}
112111
* "revision_user" = "revision_uid",
113-
{% endif %}
114-
{% if created_base_field %}
115112
* "revision_created" = "revision_timestamp",
116-
{% endif %}
117113
* "revision_log_message" = "revision_log",
118114
* },
119115
{% endif %}

0 commit comments

Comments
 (0)