Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / src / entity-translation-handler.php.twig
1 {% extends "base/class.php.twig" %}
2
3 {% block namespace_class %}
4 namespace Drupal\{{module}};
5 {% endblock %}
6
7 {% block use_class %}
8 use Drupal\content_translation\ContentTranslationHandler;
9 {% endblock %}
10
11 {% block class_declaration %}
12 /**
13  * Defines the translation handler for {{ entity_name }}.
14  */
15 class {{ entity_class }}TranslationHandler extends ContentTranslationHandler {% endblock %}
16 {% block class_methods %}
17   // Override here the needed methods from ContentTranslationHandler.
18 {% endblock %}