We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 350cc3d commit a9df680Copy full SHA for a9df680
1 file changed
templates/module/src/Entity/entity-content.php.twig
@@ -9,7 +9,7 @@ namespace Drupal\{{ module }}\Entity;
9
{% endblock %}
10
11
{% block use_class %}
12
-{% if has_owner %}
+{% if has_owner or revisionable%}
13
use Drupal\Core\Entity\EntityStorageInterface;
14
{% endif %}
15
use Drupal\Core\Field\BaseFieldDefinition;
0 commit comments