drupalmoduleupgrader-8.x-1.5/templates/EntityType.html.twig
templates/EntityType.html.twig
/**
* @file
* Contains \Drupal\{{ module }}\Entity\{{ class }}.
*/
namespace Drupal\{{ module }}\Entity;
use Drupal\Core\Entity\ContentEntityBase;
/**
* @EntityType(
* id = "{{ info.id }}",
* label = @Translation("{{ info.label }}"),
* controllers = {
* "storage" = "{{ info.controllers.storage }}
* },
* base_table = "{{ info.base_table }}",
* entity_keys = {
* "id" = "{{ info.keys.id }}",
{% if info.keys.label %}
* "label" = "{{ info.keys.label }}"
{% endif %}
* }
* )
*/
class {{ class }} extends ContentEntityBase {
/**
* @FIXME
* Move all logic relating to the {{ info.id }} entity type into this
* class. For more information, see https://www.drupal.org/node/1827470.
*/
}
