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 03:53 UTC
Updated:
29 Jul 2014 at 22:23 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Ari Gold commentedComment #2
Ari Gold commentedPatch attached.
Comment #3
Ari Gold commentedRerolled patch.
Comment #4
oenie commentedAdd public access modifier in front of the function to adher to the new OOP standards.
Comment #5
Ari Gold commentedRerolled patch.
Are the new OOP coding standards documented?
Comment #6
Ari Gold commentedI now see that comment #28 in https://drupal.org/node/1856630 suggests that public is a good default.
Comment #7
oenie commentedIt kind of depends on how the function is used.
If it's a function that's only used from a class instance itself ($this->elementWrapperClasses), you could set it to protected.
But public usually is a safe bet.
Comment #8
oenie commentedLooks fine now.
Comment #9
catchCommitted/pushed to 8.x, thanks!