'css-class']; } public function getColumnMetadata($gridField, $columnName) { if ($columnName == 'Surname') { return 'shouldnotbestring'; } elseif ($columnName == 'FirstName') { return []; } return ['metadata' => 'istrue']; } /** * @param GridField $gridField * @return array */ public function getColumnsHandled($gridField) { return ['Email', 'Surname', 'FirstName']; } public function getActions($gridField) { return ['jump']; } public function handleAction(GridField $gridField, $actionName, $arguments, $data) { return 'handledAction is executed'; } }