From 6247d4f4ec6fc5ed22767eb8e11cfdcce713fb9e Mon Sep 17 00:00:00 2001 From: Andrew Short Date: Thu, 14 Nov 2013 23:36:57 +1100 Subject: [PATCH] Make the classes getter public. --- code/GridFieldAddNewMultiClass.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/GridFieldAddNewMultiClass.php b/code/GridFieldAddNewMultiClass.php index 2a36570..636ec8a 100755 --- a/code/GridFieldAddNewMultiClass.php +++ b/code/GridFieldAddNewMultiClass.php @@ -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)) {