You are here

public function BynderApiInterface::removeAssetUsage in Bynder 4.0.x

Same name and namespace in other branches
  1. 8.3 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::removeAssetUsage()
  2. 8 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::removeAssetUsage()
  3. 8.2 src/BynderApiInterface.php \Drupal\bynder\BynderApiInterface::removeAssetUsage()

Removes asset usage entry for a specific Bynder asset.

Parameters

$asset_id: Bynder asset ID.

null $usage_url: Url where the asset is being used (node url).

Return value

mixed

1 method overrides BynderApiInterface::removeAssetUsage()
BynderApi::removeAssetUsage in src/BynderApi.php
Removes asset usage entry for a specific Bynder asset.

File

src/BynderApiInterface.php, line 99

Class

BynderApiInterface
Provides Drupal 8 Bynder API.

Namespace

Drupal\bynder

Code

public function removeAssetUsage($asset_id, $usage_url = null);