Problem/Motivation
In #1916790: Convert translation metadata into regular entity fields we were supposed to remove ContentEntityInterface::initTranslation()
, but forgot to.
Proposed resolution
Kill it
Remaining tasks
- Validate the proposed solution
Write a patch- Reviews
User interface changes
None
API changes
Removed ContentEntityInterface::initTranslation()
but there is no use for it now. In fact no usage in core.
Beta phase evaluation
Issue category | Task because nothing is broken |
---|---|
Issue priority | Major because we are unnecessarily exposing the inner workings of the Entity Translation API. |
Prioritized changes | The main goal of this issue is reducing fragility by removing an unnecessary and confusing method with no test coverage and no usage in core. |
Disruption | Disruptive for contributed and custom modules using the Entity Translation API the wrong way. Hopefully none. |
Comment | File | Size | Author |
---|---|---|---|
#1 | et-init_translation_remove-2479815-1.patch | 1.66 KB | plach |
Comments
Comment #1
plachHere we go
Comment #2
plachComment #3
dawehnerNice!
Comment #4
xjmFrom the summary it sounds like this fits the criteria for reducing fragility through removing unintentional "API", so it makes sense to me to make this change during the beta.
We should probably have a change record though, and check for any CRs that need updates?
Comment #5
plachNot very much to say about this, but I guess having a minimal CR makes sense:
https://www.drupal.org/node/2480357
Comment #6
webchickCommitted and pushed to 8.0.x. Thanks!
Comment #8
plachThanks, published CR.
Comment #9
Gábor HojtsyThanks!