Skip to content

Commit

Permalink
[generate:entity:content] Fix when owner is false (#4126)
Browse files Browse the repository at this point in the history
  • Loading branch information
hjuarez20 authored and enzolutions committed Aug 5, 2019
1 parent 350cc3d commit a9df680
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/module/src/Entity/entity-content.php.twig
Expand Up @@ -9,7 +9,7 @@ namespace Drupal\{{ module }}\Entity;
{% endblock %}

{% block use_class %}
{% if has_owner %}
{% if has_owner or revisionable%}
use Drupal\Core\Entity\EntityStorageInterface;
{% endif %}
use Drupal\Core\Field\BaseFieldDefinition;
Expand Down

0 comments on commit a9df680

Please sign in to comment.