Skip to content

Commit 2f08505

Browse files
committed
Drupal Entity Generator fails to generate functional entity #117
1 parent 2756528 commit 2f08505

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)