public function AcquiaDAM_Assets_Asset::getDownloadUrl in Media: Acquia DAM 7
Get the asset download URL.
Return value
string|false The asset download URL or FALSE on failure.
File
- src/
AcquiaDAM/ AcquiaDAM_Assets_Asset.inc, line 100
Class
- AcquiaDAM_Assets_Asset
- Generic Acquia DAM assets.
Code
public function getDownloadUrl() {
$result = $this
->getDownload([
'geturl' => TRUE,
]);
return empty($result['url']) ? FALSE : $result['url'];
}