You are here

public function MediaWysiwygFilter::defaultConfiguration in Media Migration 8

Gets default configuration for this plugin.

Return value

array An associative array with the default configuration.

Overrides ConfigurableInterface::defaultConfiguration

1 call to MediaWysiwygFilter::defaultConfiguration()
MediaWysiwygFilter::setConfiguration in src/Plugin/migrate/process/MediaWysiwygFilter.php
Sets the configuration for this plugin instance.

File

src/Plugin/migrate/process/MediaWysiwygFilter.php, line 119

Class

MediaWysiwygFilter
Processes [[{"type":"media","fid":"1234",...}]] tokens in content.

Namespace

Drupal\media_migration\Plugin\migrate\process

Code

public function defaultConfiguration() {
  return [
    'view_mode_matching' => [],
    'media_migrations' => [],
    'file_migrations' => [],
  ];
}