class TestMediaMigrationDatabaseTrait in Media Migration 8
Test class using the trait.
Hierarchy
- class \Drupal\Tests\media_migration\Kernel\Plugin\migrate\source\d7\TestMediaMigrationDatabaseTrait uses MediaMigrationDatabaseTrait
Expanded class hierarchy of TestMediaMigrationDatabaseTrait
File
- tests/
src/ Kernel/ Plugin/ migrate/ source/ d7/ MediaMigrationDatabaseTraitTest.php, line 750
Namespace
Drupal\Tests\media_migration\Kernel\Plugin\migrate\source\d7View source
class TestMediaMigrationDatabaseTrait {
use MediaMigrationDatabaseTrait {
getFilePlainBaseQuery as public;
getFileEntityBaseQuery as public;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MediaMigrationDatabaseTrait:: |
protected | function | Returns the file extension expression for the current DB. | |
MediaMigrationDatabaseTrait:: |
protected | function | Returns a base query for file entity types. | |
MediaMigrationDatabaseTrait:: |
protected | function | Returns a base query for plain files. | |
MediaMigrationDatabaseTrait:: |
protected | function | Returns the main MIME type's expression for the current DB. | |
MediaMigrationDatabaseTrait:: |
protected | function | Returns the expression for the DB for getting the URI scheme. | |
MediaMigrationDatabaseTrait:: |
protected | function | Returns the subquery for the user picture-only file IDs. | |
MediaMigrationDatabaseTrait:: |
protected | function | Subquery for FIDs used only in webform submissions and/or by user entities. |