Closed (outdated)
Project:
Drupal core
Version:
8.8.x-dev
Component:
config_translation.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Nov 2013 at 14:45 UTC
Updated:
26 May 2019 at 11:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
tstoecklerComment #2
tstoecklerMeh, we need the parent entity, of course. Hmm...
Comment #3
gábor hojtsyFYI the same code is being updated in #2111823: Convert field_ui / Entity local tasks to YAML definitions "similarly":
Comment #4
tstoecklerYeah, I saw that too. At this point, since that is pretty much done, we should postpone this on that. I still think using getRouteInfo() makes more sense than specifying the $bundle argument ourselves, but I don't want to set that patch back to needs review for that, since it's already an improvement the way it is.
Comment #5
tstoecklerYeah, so I had the right feel for that.
Here's a re-roll now that that is in.
Also uses the correct parameters now, I hope.
Comment #7
tstoecklerWTF, mate?
Comment #8
tstoeckler5: 2139209-5.patch queued for re-testing.
Comment #10
tstoecklerComment #17
berdirThe code is now in \Drupal\config_translation\ConfigFieldMapper::getBaseRouteParameters() I think and the @todo is gone, not sure if this is still relevant but that getAdminRouteInfo() method doesn't seem to exist, so closing as outdated, feel free to re-open ;)