SilverStripe\Admin\CMSBatchActionHandler::actionByName
Get an action for a given name
Signature
protected function actionByName(string
$name )
Parameters
$name
— string- Name of the action
Returns
- CMSBatchAction
- An instance of the given batch action
Errors/Exceptions
-
InvalidArgumentException
- if invalid action name is passed.