Skip to content

Commit

Permalink
Merge pull request #11369 from mooror/getRemoveAction-access-modifier…
Browse files Browse the repository at this point in the history
…-update

API Made the GridFieldDeleteAction method getRemoveAction() protected
  • Loading branch information
GuySartorelli authored Sep 11, 2024
2 parents f8c33e9 + 6245b62 commit 52e4574
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Forms/GridField/GridFieldDeleteAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 52e4574

Please sign in to comment.