You are here

protected function DrupalYoutube7Migration::query in Drupal-to-Drupal data migration 7.2

We override the file query to identify which files are user pictures.

Return value

SelectQueryInterface

Overrides DrupalFile7Migration::query

File

d7/file.inc, line 151
Implementation of DrupalFileMigration for Drupal 7 sources.

Class

DrupalYoutube7Migration
Pull youtube links in their own migration class, based on normal file migration.

Code

protected function query() {
  $query = $this
    ->baseQuery();
  $query
    ->condition('uri', 'youtube://%', 'LIKE');
  return $query;
}