projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Yaffs site version 1.1
[yaffs-website]
/
vendor
/
drupal
/
console
/
templates
/
module
/
src
/
Entity
/
interface-entity-content.php.twig
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 9f7d3dad9a7c2f09c0fc74364985637d24aaefae..981b81bc217af155f60a98f7206e98ecdcfa564f 100644
(file)
--- 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;
{% 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 %}
{% 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.
{% 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.
*
/**
* Gets the {{ label }} name.
*