public function FilePlainSourceFieldInstance::query in Media Migration 8
Overrides FilePlainConfigSourceBase::query
File
- src/
Plugin/ migrate/ source/ d7/ FilePlainSourceFieldInstance.php, line 20
Class
- FilePlainSourceFieldInstance
- Drupal 7 media source field instances source based on source database.
Namespace
Drupal\media_migration\Plugin\migrate\source\d7Code
public function query() {
$query = parent::query();
$query
->addExpression($this
->getExtensionExpression(), 'file_extension');
return $query;
}