You are here

protected function FileEntityConfigSourceBase::prepareQuery in Media Migration 8

File

src/Plugin/migrate/source/d7/FileEntityConfigSourceBase.php, line 92

Class

FileEntityConfigSourceBase
Base class for config migrate source plugins of file entity 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_entity');
  $this->query
    ->addTag('migrate__media_migration__media_configuration');
  $this->query
    ->addTag("migrate__media_migration__source__{$this->pluginId}");
  return $this->query;
}