You are here

public function BynderMediaApi::getDerivatives in Bynder 7

File

includes/BynderMediaApi.inc, line 243
Manages the Bynder media browser functionality

Class

BynderMediaApi

Code

public function getDerivatives() {
  try {
    $result = $this->assetBankManager
      ->getDerivatives()
      ->wait();
    return $result;
  } catch (Exception $e) {
    watchdog('bynder', $e
      ->getMessage());
    drupal_set_message(t('Could not retrieve account derivatives information'), 'error');
  }
  return false;
}