You are here

public function FileEntitySourceFieldInstance::query in Media Migration 8

Overrides FileEntityConfigSourceBase::query

File

src/Plugin/migrate/source/d7/FileEntitySourceFieldInstance.php, line 20

Class

FileEntitySourceFieldInstance
Drupal 7 media source field instances source based on source database.

Namespace

Drupal\media_migration\Plugin\migrate\source\d7

Code

public function query() {
  $query = parent::query();
  $query
    ->addExpression($this
    ->getExtensionExpression(), 'file_extension');
  return $query;
}