You are here

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

Implementation for JsonSerializable.

File

src/AcquiaDAM/AcquiaDAM_Assets_AbstractAsset.inc, line 455

Class

AcquiaDAM_Assets_AbstractAsset
Abstract class base for Acquia DAM assets.

Code

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