Give the gift of Drupal. All merchandise is 50% off through 2016.
Part of meta-issue #1856630: [Change notice] [META] Rename Views methods to core standards
You need to add the access modifier (public/private/protected) before the function name. Take a look at the parent issue (http://drupal.org/node/1856630), comments #28, #34, #35 for more details.
You can see an example patch here: http://drupal.org/node/2001672
Added public modifier.
Reviewed patch based on the following criteria: http://drupal.org/node/1856630#comment-7450696
Committed 29271d4 and pushed to 8.x. Thanks!
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.