You are here

public function MediaEntityHelper::getAssetFileDestination in Media: Acquia DAM 8

Gets the destination path for Acquia DAM assets.

Return value

string The final folder to store the asset locally.

1 call to MediaEntityHelper::getAssetFileDestination()
MediaEntityHelper::getFile in src/MediaEntityHelper.php
Returns an associated file or creates a new one.

File

src/MediaEntityHelper.php, line 188

Class

MediaEntityHelper
Class MediaEntityHelper.

Namespace

Drupal\media_acquiadam

Code

public function getAssetFileDestination() {
  return $this->assetFileHelper
    ->getDestinationFromEntity($this->mediaEntity, $this
    ->getAssetFileField());
}