Further modules included.
[yaffs-website] / web / modules / contrib / drupalmoduleupgrader / templates / EntityType.html.twig
1 /**
2  * @file
3  * Contains \Drupal\{{ module }}\Entity\{{ class }}.
4  */
5
6 namespace Drupal\{{ module }}\Entity;
7
8 use Drupal\Core\Entity\ContentEntityBase;
9
10 /**
11  * @EntityType(
12  *  id = "{{ info.id }}",
13  *  label = @Translation("{{ info.label }}"),
14  *  controllers = {
15  *    "storage" = "{{ info.controllers.storage }}
16  *  },
17  *  base_table = "{{ info.base_table }}",
18  *  entity_keys = {
19  *    "id" = "{{ info.keys.id }}",
20 {% if info.keys.label %}
21  *    "label" = "{{ info.keys.label }}"
22 {% endif %}
23  *  }
24  * )
25  */
26 class {{ class }} extends ContentEntityBase {
27
28   /**
29    * @FIXME
30    * Move all logic relating to the {{ info.id }} entity type into this
31    * class. For more information, see https://www.drupal.org/node/1827470.
32    */
33
34 }