API Made the GridFieldDeleteAction method getRemoveAction() protected

This commit is contained in:
Benjamin Blake 2024-09-11 10:52:41 -06:00
parent f8c33e96a0
commit 6245b62299

View File

@ -225,7 +225,7 @@ class GridFieldDeleteAction extends AbstractGridFieldComponent implements GridFi
* @param string $columnName * @param string $columnName
* @return GridField_FormAction|null * @return GridField_FormAction|null
*/ */
private function getRemoveAction($gridField, $record, $columnName) protected function getRemoveAction($gridField, $record, $columnName)
{ {
if ($this->getRemoveRelation()) { if ($this->getRemoveRelation()) {
$this->checkForRequiredMethod($record, 'canEdit'); $this->checkForRequiredMethod($record, 'canEdit');