You are here

public function AssetDataInterface::set in Media: Acquia DAM 8

Stores data for an asset.

Parameters

int $assetID: The ID of the asset to store data against.

string $name: The name of the data key.

mixed $value: The value to store. Non-scalar values are serialized automatically.

1 method overrides AssetDataInterface::set()
AssetData::set in src/AssetData.php
Stores data for an asset.

File

src/AssetDataInterface.php, line 37

Class

AssetDataInterface
Defines the asset data service interface.

Namespace

Drupal\media_acquiadam

Code

public function set($assetID, $name, $value);