Make the classes getter public.

This commit is contained in:
Andrew Short 2013-11-14 23:36:57 +11:00
parent de47c5d3a3
commit 6247d4f4ec
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ class GridFieldAddNewMultiClass implements GridField_HTMLProvider, GridField_URL
* @param GridField $grid
* @return array a map of class name to title
*/
protected function getClasses($grid) {
public function getClasses(GridField $grid) {
$result = array();
if(is_null($this->classes)) {