Skip to content

Commit

Permalink
Use ContentEntityBase instead of ContentEntityInterface in entity-con…
Browse files Browse the repository at this point in the history
…tent template. (#2834)
  • Loading branch information
francescopersico authored and jmolivas committed Nov 1, 2016
1 parent 793ff62 commit daecf7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/module/src/Entity/entity-content.php.twig
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ use Drupal\Core\Field\BaseFieldDefinition;
{% if revisionable %}
use Drupal\Core\Entity\RevisionableContentEntityBase;
{% else %}
use Drupal\Core\Entity\ContentEntityInterface;
use Drupal\Core\Entity\ContentEntityBase;
{% endif %}
use Drupal\Core\Entity\EntityChangedTrait;
use Drupal\Core\Entity\EntityTypeInterface;
Expand Down

0 comments on commit daecf7e

Please sign in to comment.