\GridFieldDeleteOrUnlinkAction
Modifies SilverStripe's standard GridFieldDeleteAction to allow unlinking or deletion based on the result of canDelete and canEdit forcing one or the other on all records.
Synopsis
class GridFieldDeleteOrUnlinkAction
extends GridFieldDeleteAction
{
- // methods
- public string getColumnContent()
- protected void unlinkColumnContent()
- protected void deleteColumnContent()
Hierarchy
Extends
- GridFieldDeleteAction