DMSUploadField::attachFile
Override the default behaviour of the UploadField and take the uploaded file (uploaded to assets) and add it into the DMS storage, deleting the old/uploaded file.
Signature
protected function attachFile(
$file )
Parameters
$file
—