mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
API Made the GridFieldDeleteAction method getRemoveAction() protected
This commit is contained in:
parent
f8c33e96a0
commit
6245b62299
@ -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');
|
||||||
|
Loading…
Reference in New Issue
Block a user