SilverStripe\Admin\CMSBatchActionHandler::register
Register a new batch action. Each batch action needs to be represented by a subclass of {@link CMSBatchAction}.
Signature
public function register(string
$urlSegment,
string
$batchActionClass,
[string
$recordClass = SiteTree::class] )
Parameters
$urlSegment
—
string
- The URL Segment of the batch action - the URL used to process this
action will be admin/pages/batchactions/(urlSegment)
$batchActionClass
—
string
- The name of the CMSBatchAction subclass to register
$recordClass
—
string