Needs review
Project:
Entity Translation
Version:
7.x-1.x-dev
Component:
Views integration
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2017 at 11:19 UTC
Updated:
17 Sep 2017 at 21:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
vasikeHere is a first patch on this.
It tries to cover the examples from the issue description.
Extra: it moves "_entity_translation_label" callback from admin to module file.
This looks like a helper function that should be available for other modules too.
Comment #3
joseph.olstadnot sure why the testbot said that because it applies on my cloned copy of entity_translation 7.x-1.x dev branch latest code
I just triggered retests
Comment #4
ciss commentedNeeds a reroll.
Comment #5
ciss commentedRerolled.
Comment #6
ciss commentedThis overwrites the previous table definition.
Comment #7
ciss commentedI case of "edit", could we provide an optional fallback to "add"?
Not much of a choice, is it? :D
It might make sense to add a class here that indicates the language, so that the links can be themed properly. We can probably resuse the classes from an entity's translations overview.
Can we do an access check here?
It might be desirable to completely suppress this text. Maybe we should allow ? Or initially set the default message and allow users to remove it?
Comment #8
ciss commentedThis is a rather heavy rewrite of the handler that addresses #6 and #7 (except for 4. and 5.). I'm not sure how I feel about the entity label option, to be honest, since it seems somewhat out of place and requires the title module to even work properly.