Skip to content
Permalink
Browse files

[generate:entity:content] Fix when owner is false (#4126)

  • Loading branch information...
harold20 authored and enzolutions committed Aug 5, 2019
1 parent 350cc3d commit a9df68076bc55653bce39445c2390b2cb0de9c02
Showing with 1 addition and 1 deletion.
  1. +1 −1 templates/module/src/Entity/entity-content.php.twig
@@ -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;

0 comments on commit a9df680

Please sign in to comment.
You can’t perform that action at this time.