Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
views.module
Priority:
Normal
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
24 May 2013 at 15:32 UTC
Updated:
29 Jul 2014 at 22:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vuzzbox commentedWorking on this at 2013 DrupalCon "getting involved sprint." Wish me luck.
Comment #2
vuzzbox commentedrenamed function uses_tokens to usesTokens
Comment #3
vuzzbox commentedReady for review.
Comment #5
aspilicious commentedStrange seams like a random fail...
Can you please prepend the function with public "public function usesTokens".
Thnx!
Comment #6
vuzzbox commentedI think all tests would be failing randomly because of an issue in a block positioning test not related to this (or many other issues). that test is failing randomly, but a patch was posted to fix it. See this issue: http://drupal.org/node/1987952#comment-7454266
Once that is fixed, this should pass.
Comment #7
aspilicious commentedyeah but you still need tyo prepend the function with "public".
Views has realy old code and adding the correct type is needed in this issue.
Comment #8
nathangervais commentedRerolled Patch with public modifier.
Comment #9
dawehnerThis function is not used at all. I have the feeling that this is just wrong.
Comment #10
aspilicious commentedShould we remove it?
Comment #11
heddnShould we convert it for now and create a follow-up to decide if it should be removed.
Comment #12
vuzzbox commentedI noticed this, too, no instances of this function being called.
Is it possible that it's being used by contrib modules? Is it possible to determine which contrib modules might be calling any given core function?
Comment #13
dawehnerLet's not remove code for now, as there might be contrib modules requiring this.
Comment #14
alexpottCommitted ad6858d and pushed to 8.x. Thanks!
So can so do a scan of contrib to see if this is used...