DynamicTemplateFilesField::unlinkLink
Given a file map from the tree, generate a link to the ajax method to unlink a file. Given that linked files are not File objects, but just paths, we encode have to encode the path. We also need to encode the subfolder and the dynamic template ID is this, separated by colons.
Signature
public function unlinkLink(
$file,
$subFolder )
Parameters
$file
—$subFolder
—