You are here

service media_acquiadam.asset_file.helper in Media: Acquia DAM 8

Class

Drupal\media_acquiadam\Service\AssetFileEntityHelper
5 string references to media_acquiadam.asset_file.helper
AcquiadamMediaTest::testFailedFileSave in tests/src/Kernel/AcquiadamMediaTest.php
Tests that version is only updated when file is saved correctly.
AssetMediaFactory::get in src/Service/AssetMediaFactory.php
Wrap a media entity with a helper to enable asset functionality.
AssetMediaFactoryTest::setUp in tests/src/Unit/AssetMediaFactoryTest.php
MediaEntityHelperTest::getNewMediaEntityHelper in tests/src/Unit/MediaEntityHelperTest.php
Gets an instance of the MediaEntityHelper class.
MediaEntityHelperTest::setMockedAcquiaDamServices in tests/src/Unit/MediaEntityHelperTest.php
Sets Media: Acquia DAM mocked services into a container.

File

./media_acquiadam.services.yml
media_acquiadam.services.yml

View source
  1. class: Drupal\media_acquiadam\Service\AssetFileEntityHelper
  2. arguments:
  3. - '@entity_type.manager'
  4. - '@entity_field.manager'
  5. - '@config.factory'
  6. - '@file_system'
  7. - '@token'
  8. - '@media_acquiadam.asset_image.helper'
  9. - '@media_acquiadam.acquiadam'
  10. - '@media_acquiadam.asset_media.factory'
  11. - '@logger.factory'