SilverStripe\UserForms\Form\GridFieldAddClassesButton::__construct
Signature
public function __construct(array
$classes,
[string
$targetFragment = 'buttons-before-left'] )
Parameters
$classes
— array- Class or list of classes to create.
If you enter more than one class, each click of the "add" button will create one of each $targetFragment
— string- The fragment to render the button into