You are here

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

Deletes data stored for an asset.

Parameters

int|array $assetID: (optional) The ID of the asset the data is associated with. Can also be an array to delete the data of multiple assets.

string $name: (optional) The name of the data key. If omitted, all data associated with $assetID.

1 method overrides AssetDataInterface::delete()
AssetData::delete in src/AssetData.php
Deletes data stored for an asset.

File

src/AssetDataInterface.php, line 49

Class

AssetDataInterface
Defines the asset data service interface.

Namespace

Drupal\media_acquiadam

Code

public function delete($assetID = NULL, $name = NULL);