Colymba\BulkUpload\BulkUploader::getDefaultFileRelationName
Get the first has_one Image/File relation from the GridField managed DataObject i.e. 'MyImage' => 'Image' will return 'MyImage'.
Signature
public function getDefaultFileRelationName(GridField
$gridField )
Parameters
$gridField
— object
Returns
- string
- Name of the $has_one relation