You are here

public function AssetMediaFactory::setAssetMediaEntityHelperClass in Media: Acquia DAM 8

Set the class name to use when wrapping media entities.

Parameters

string $className: The fully namespaced class name to use.

File

src/Service/AssetMediaFactory.php, line 67

Class

AssetMediaFactory
Class AssetMediaFactory.

Namespace

Drupal\media_acquiadam\Service

Code

public function setAssetMediaEntityHelperClass($className = MediaEntityHelper::class) {
  $this->mediaEntityHelperClass = $className;
}