You are here

media_migration_test_dealer_plugins.module in Media Migration 8

Test helper module for providing simplified dealer plugins.

File

tests/modules/media_migration_test_dealer_plugins/media_migration_test_dealer_plugins.module
View source
<?php

/**
 * @file
 * Test helper module for providing simplified dealer plugins.
 */
use Drupal\media_migration_test_dealer_plugins\Image;

/**
 * Implements hook_media_migration_file_entity_dealer_info_alter().
 */
function media_migration_test_dealer_plugins_media_migration_file_entity_dealer_info_alter(&$definitions) {
  if (!empty($definitions['image'])) {
    $definitions['image']['class'] = Image::class;
  }
}

Functions

Namesort descending Description
media_migration_test_dealer_plugins_media_migration_file_entity_dealer_info_alter Implements hook_media_migration_file_entity_dealer_info_alter().