public function BynderMediaApi::getAssetUsages in Bynder 7
File
- includes/
BynderMediaApi.inc, line 293 - Manages the Bynder media browser functionality
Class
Code
public function getAssetUsages($assetID) {
try {
return $this->assetBankManager
->getUsage([
'asset_id' => $assetID,
])
->wait();
} catch (Exception $e) {
watchdog('bynder', $e
->getMessage());
drupal_set_message(t('Could not add asset usage information'), 'error');
return false;
}
}