SilverCommerce\ContactAdmin\BulkActions\AddRelatedHandler
Abstract(ish) handler class for bulk assigning actions that pre-loads some common functions and properties.
Synopsis
class AddRelatedHandler
extends Handler
{
- // members
- private static array $url_handlers = ;
- protected boolean $xhr = false;
- protected boolean $destructive = false;
- // methods
- public string Link()
- protected Controller getToplevelController()
- public ArrayData Breadcrumbs()
Hierarchy
Extends
- Colymba\BulkManager\BulkAction\Handler
Members
private
- $url_handlers
protected
- $destructive
—
boolean
Set to true is this handler will destroy any data. - $xhr
—
boolean
Whether this handler should be called via an XHR from the front-end
Methods
protected
- getToplevelController() — Traverse up nested requests until we reach the first that's not a GridFieldDetailForm or GridFieldDetailForm_ItemRequest.
public
- Breadcrumbs() — Edited version of the GridFieldEditForm function adds the 'Bulk Upload' at the end of the crums.
- Link() — Return URL to this RequestHandler