1 {% extends "base/class.php.twig" %}
3 {% block namespace_class %}
4 namespace Drupal\{{module}};
8 use Drupal\content_translation\ContentTranslationHandler;
11 {% block class_declaration %}
13 * Defines the translation handler for {{ entity_name }}.
15 class {{ entity_class }}TranslationHandler extends ContentTranslationHandler {% endblock %}
16 {% block class_methods %}
17 // Override here the needed methods from ContentTranslationHandler.