function media_acquiadam_asset_load in Media: Acquia DAM 7
Load an Acquia DAM asset.
Used for the menu system.
Parameters
int $assetId: The ID of the asset to load.
string $assetType: The type of asset to load.
Return value
AcquiaDAM_Assets_AbstractAsset|false The loaded asset or FALSE.
File
- ./
media_acquiadam.module, line 257
Code
function media_acquiadam_asset_load($assetId, $assetType = 'asset') {
return media_acquiadam_get_helper($assetType, $assetId);
}