Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
6 Jun 2013 at 20:07 UTC
Updated:
29 Jul 2014 at 22:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nathangervais commentedHere's a patch to replace all occurances of drupal_container() with Drupal::service() equivalents in the views module.
Comment #3
kgoel commentedComment #4
kgoel commentedComment #5
ddrozdik commentedComment #6
kgoel commentedComment #8
kgoel commented#6: views-2014043-6.patch queued for re-testing.
Comment #9
dawehnerComment #10
kgoel commentedComment #11
kgoel commentedremoved tag
Comment #12
dawehnerWe removed that callback in the meantime, so it should not be added again (it is now a proper controller, so we don't need the Drupal:: conversion anymore.)
Comment #13
kgoel commentedComment #14
dawehnerI am wondering whether it actually makes more sense to try to either inject the request or refactor code, so it does not rely on the current request directly.
Comment #15
dawehnerI agree that injection is too complex for now, so let's better get rid of drupal_container() for now.
Comment #16
catchCommitted/pushed to 8.x, thanks!