From 6245b62299d6a3f9fefb365bdd83166ea07c0171 Mon Sep 17 00:00:00 2001 From: Benjamin Blake Date: Wed, 11 Sep 2024 10:52:41 -0600 Subject: [PATCH] API Made the GridFieldDeleteAction method getRemoveAction() protected --- src/Forms/GridField/GridFieldDeleteAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');