Problem/Motivation
Annotation of the Crop Entity Type contains a declaration of the translation handler. However, this is not necessary, because this handler will be added automatically by content_translation module. According to the content_translation_entity_type_alter() function comment:
If the entity paths match the default pattern above and there is no need for an entity-specific translation handler, Content Translation will provide built-in support for the entity.
Proposed resolution
Remove translation handler.
Remaining tasks
-
User interface changes
-
API changes
-
Data model changes
-
Release notes snippet
-
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | crop-remove-translation-handler-3072690-2-D8.patch | 559 bytes | id.aleks |
Comments
Comment #2
id.aleks commentedPlease test and apply.
Comment #3
berdirI'd rather it not be translatable at all as that doesn't make sense, but that is going to be much harder, this seems does make sense.
Comment #5
phenaproximaAgreed. This is removing redundant code and tests pass, so committed and pushed to 8.x-2.x. Thanks!