X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Fsrc%2FEntity%2Finterface-entity-content.php.twig;h=981b81bc217af155f60a98f7206e98ecdcfa564f;hp=9f7d3dad9a7c2f09c0fc74364985637d24aaefae;hb=eba34333e3c89f208d2f72fa91351ad019a71583;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae diff --git a/vendor/drupal/console/templates/module/src/Entity/interface-entity-content.php.twig b/vendor/drupal/console/templates/module/src/Entity/interface-entity-content.php.twig index 9f7d3dad9..981b81bc2 100644 --- a/vendor/drupal/console/templates/module/src/Entity/interface-entity-content.php.twig +++ b/vendor/drupal/console/templates/module/src/Entity/interface-entity-content.php.twig @@ -12,8 +12,6 @@ namespace Drupal\{{module}}\Entity; {% if revisionable %} use Drupal\Core\Entity\RevisionLogInterface; use Drupal\Core\Entity\RevisionableInterface; -use Drupal\Component\Utility\Xss; -use Drupal\Core\Url; {% else %} use Drupal\Core\Entity\ContentEntityInterface; {% endif %} @@ -31,16 +29,6 @@ interface {{ entity_class }}Interface extends {% if revisionable %}RevisionableI {% block class_methods %} // Add get/set methods for your configuration properties here. -{% if bundle_entity_type %} - /** - * Gets the {{ label }} type. - * - * @return string - * The {{ label }} type. - */ - public function getType(); - -{% endif %} /** * Gets the {{ label }} name. *