Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / src / Entity / interface-entity.php.twig
1 {% extends "base/class.php.twig" %}
2
3 {% block file_path %}
4 \Drupal\{{module}}\Entity\{{ entity_class }}Interface.
5 {% endblock %}
6
7 {% block namespace_class %}
8 namespace Drupal\{{module}}\Entity;
9 {% endblock %}
10
11 {% block use_class %}
12 use Drupal\Core\Config\Entity\ConfigEntityInterface;
13 {% endblock %}
14
15 {% block class_declaration %}
16 /**
17  * Provides an interface for defining {{ label }} entities.
18  */
19 interface {{ entity_class }}Interface extends ConfigEntityInterface {% endblock %}
20 {% block class_methods %}
21   // Add get/set methods for your configuration properties here.{% endblock %}