Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
menu_link.module
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
29 Sep 2013 at 08:12 UTC
Updated:
29 Jul 2014 at 22:59 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
corvus_ch commentedWithout testing it locally, let's see if the test bot will be happy with it.
Comment #2
dawehnerAre you sure there is no usecase to define a render controller for an entity? You never know whether things want to be done in views.
Comment #3
amateescu commentedI wanted the render controller to output the result of l().. I agree that it's not used *now*, but a specialized render controller should be introduced for menu links, imo :)
Comment #4
andypostRelated #2097903: Rename EntityRenderController to EntityViewBuilder
Comment #5
pwolanin commentedWe need to stop using l().
Ideally this entity class would have a way to return a render array? that would be useful.
Comment #6
amateescu commentedDiscussed with @Berdir on IRC and we agreed that we should remove the generic view builder reference after all, at least until we're ready to implement one tailored for menu links.
Here's a rerolled patch.
Comment #7
berdirThanks, see #2006434-16: [meta] Speed up web tests for why this should result in quite a performance improvement for web tests, having a view builder means that saving them deletes cache tags. Lots of those.
So, RTBC unless bot disagrees.
Comment #9
amateescu commented6: 2100467-6.patch queued for re-testing.
Comment #10
berdirArghh, ImageFieldDisplayTest again.
Comment #11
berdirTrying again.
Comment #13
amateescu commented6: 2100467-6.patch queued for re-testing.
Comment #14
amateescu commentedBack to RTBC.
Comment #15
webchickCommitted and pushed to 8.x. Thanks!