mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #11369 from mooror/getRemoveAction-access-modifier-update
API Made the GridFieldDeleteAction method getRemoveAction() protected
This commit is contained in:
commit
52e4574a9e
@ -225,7 +225,7 @@ class GridFieldDeleteAction extends AbstractGridFieldComponent implements GridFi
|
||||
* @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');
|
||||
|
Loading…
Reference in New Issue
Block a user