interface MediaMigrationUuidOracleInterface in Media Migration 8
Interface of Media Migration's UUID oracle.
Hierarchy
- interface \Drupal\media_migration\MediaMigrationUuidOracleInterface
Expanded class hierarchy of MediaMigrationUuidOracleInterface
All classes that implement MediaMigrationUuidOracleInterface
5 files declare their use of MediaMigrationUuidOracleInterface
- CKEditorLinkFileToLinkitFilter.php in src/
Plugin/ migrate/ process/ CKEditorLinkFileToLinkitFilter.php - EmbedFilterBase.php in src/
Plugin/ migrate/ process/ EmbedFilterBase.php - ImgTagToEmbedFilter.php in src/
Plugin/ migrate/ process/ ImgTagToEmbedFilter.php - MediaWysiwygFilter.php in src/
Plugin/ migrate/ process/ MediaWysiwygFilter.php - ProcessTestBase.php in tests/
src/ Unit/ Plugin/ migrate/ process/ ProcessTestBase.php
File
- src/
MediaMigrationUuidOracleInterface.php, line 8
Namespace
Drupal\media_migrationView source
interface MediaMigrationUuidOracleInterface {
/**
* Returns the UUID of a media entity based on its source ID.
*
* @param int $source_id
* The original ID of the media entity in the source database.
* @param bool $generate_if_missing
* Whether a UUID should be generated if no prophecy was found.
*
* @return string|null
* The UUID of the given media entity.
*
* @throws \LogicException
*/
public function getMediaUuid(int $source_id, bool $generate_if_missing = TRUE) : ?string;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MediaMigrationUuidOracleInterface:: |
public | function | Returns the UUID of a media entity based on its source ID. | 1 |