{% 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 %}
{% 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.
*