You are here

protected function AssetImageHelper::getAcquiaDamModulePath in Media: Acquia DAM 8

Get the path to the Media: Acquia DAM module.

This call is broken out for better flexibility when writing tests.

Return value

string The path to the Media: Acquia DAM module.

1 call to AssetImageHelper::getAcquiaDamModulePath()
AssetImageHelper::setFallbackThumbnail in src/Service/AssetImageHelper.php
Sets a new default fallback image.

File

src/Service/AssetImageHelper.php, line 278

Class

AssetImageHelper
Class AssetImageHelper.

Namespace

Drupal\media_acquiadam\Service

Code

protected function getAcquiaDamModulePath() {
  return drupal_get_path('module', 'media_acquiadam');
}