You are here

public function AcquiaDAM_Assets_AbstractAsset::__toString in Media: Acquia DAM 7

Return a string representation of this asset.

Return value

string The JSON encoded asset array.

File

src/AcquiaDAM/AcquiaDAM_Assets_AbstractAsset.inc, line 436

Class

AcquiaDAM_Assets_AbstractAsset
Abstract class base for Acquia DAM assets.

Code

public function __toString() {
  return drupal_json_encode($this
    ->toArray());
}