You are here

protected function FilePlainConfigSourceBase::prepareQuery in Media Migration 8

File

src/Plugin/migrate/source/d7/FilePlainConfigSourceBase.php, line 105

Class

FilePlainConfigSourceBase
Base class for config migrate source plugins of plain file migrations.

Namespace

Drupal\media_migration\Plugin\migrate\source\d7

Code

protected function prepareQuery() {
  parent::prepareQuery();
  $this->query
    ->addTag('migrate__media_migration');
  $this->query
    ->addTag('migrate__media_migration__file_plain');
  $this->query
    ->addTag('migrate__media_migration__media_configuration');
  $this->query
    ->addTag("migrate__media_migration__source__{$this->pluginId}");
  return $this->query;
}