diff --git a/src/Forms/GridField/GridFieldDeleteAction.php b/src/Forms/GridField/GridFieldDeleteAction.php index a0d81c322bf..427cf49f2b9 100644 --- a/src/Forms/GridField/GridFieldDeleteAction.php +++ b/src/Forms/GridField/GridFieldDeleteAction.php @@ -225,7 +225,7 @@ public function handleAction(GridField $gridField, $actionName, $arguments, $dat * @param string $columnName * @return GridField_FormAction|null */ - private function getRemoveAction($gridField, $record, $columnName) + protected function getRemoveAction($gridField, $record, $columnName) { if ($this->getRemoveRelation()) { $this->checkForRequiredMethod($record, 'canEdit');