SilverStripe\Blog\Forms\GridField\GridFieldAddByDBField::__construct
Creates a text field and add button which allows the user to directly create a new DataObject by just entering the title.
Signature
public function __construct([string
$targetFragment = 'before',
[string
$dataObjectField = 'Title']] )
Parameters
$targetFragment
— string$dataObjectField
— string