Closed (outdated)
Project:
Default Content
Version:
8.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
10 Mar 2016 at 21:20 UTC
Updated:
26 Sep 2016 at 17:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
andypostRelated issue exposes another incompatibility.
entity access should be a part of access, user could have no access for some fields but gets access to all
Comment #3
andypostComment #4
berdirLink templates must start with a /, this is baby-sitting broken code, we shouldn't do that. AFAIK, core validates this now somewhere.
I've seen a different pattern for this. There, you first define an export link template in hook_entity_type_alter() and then create the route based on that. The advantage is that it allows entity types to define a link template with a different path if they want.
Devel does that for example, not sure if it is worth it here.
Comment #5
andypostThanx for pointer, both means core
\Drupal\content_translation\Routing\ContentTranslationRouteSubscriber::alterRoutesshould be cleaned as wellComment #7
andypostComment #8
andypostThere's no more export form