You are here

public function AcquiadamAsset::__construct in Media: Acquia DAM 8

AcquiadamAsset constructor.

Overrides MediaSourceBase::__construct

File

src/Plugin/media/Source/AcquiadamAsset.php, line 63

Class

AcquiadamAsset
Provides media type plugin for Acquia DAM assets.

Namespace

Drupal\media_acquiadam\Plugin\media\Source

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, EntityTypeManagerInterface $entity_type_manager, EntityFieldManagerInterface $entity_field_manager, FieldTypePluginManagerInterface $field_type_manager, ConfigFactoryInterface $config_factory, AssetImageHelper $assetImageHelper, AssetMetadataHelper $assetMetadataHelper, AssetMediaFactory $assetMediaFactory) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $entity_type_manager, $entity_field_manager, $field_type_manager, $config_factory);
  $this->assetImageHelper = $assetImageHelper;
  $this->assetMetadataHelper = $assetMetadataHelper;
  $this->assetMediaFactory = $assetMediaFactory;
}