You are here

public static function MediaMigration::getEmbedTokenDestinationFilterPlugin in Media Migration 8

Returns the embed media token transform's destination filter plugin.

Return value

string The embed media token transform's destination filter_plugin from settings.php.

13 calls to MediaMigration::getEmbedTokenDestinationFilterPlugin()
FilterSettingsEmbedMedia::transform in src/Plugin/migrate/process/FilterSettingsEmbedMedia.php
Performs the associated process.
ImgTagToEmbedFilter::__construct in src/Plugin/migrate/process/ImgTagToEmbedFilter.php
Constructs a new ImgTagToEmbedFilter object.
MediaMigration::embedTokenDestinationFilterPluginIsValid in src/MediaMigration.php
Whether the transform's destination filter_plugin is valid or not.
MediaMigration::getEmbedMediaReferenceMethod in src/MediaMigration.php
Sets the method of the embedded media reference.
MediaMigrationAssertionsBaseTrait::assertEmbedTokenHtmlTags in tests/src/Traits/MediaMigrationAssertionsBaseTrait.php
Assert that embed HTML tags exist in the given text.

... See full list

File

src/MediaMigration.php, line 176

Class

MediaMigration
Media Migration configuration and helpers.

Namespace

Drupal\media_migration

Code

public static function getEmbedTokenDestinationFilterPlugin() {
  return Settings::get(self::MEDIA_TOKEN_DESTINATION_FILTER_SETTINGS, self::MEDIA_TOKEN_DESTINATION_FILTER_DEFAULT);
}