Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / file / src / Plugin / migrate / source / d6 / Upload.php
index 475ce61f7aa367caab538743042732a72c0e9e27..4d03e5f5f92ca2100d01ea952cf46b766644c37e 100644 (file)
@@ -29,6 +29,7 @@ class Upload extends DrupalSqlBase {
       ->fields('u', ['nid', 'vid']);
     $query->innerJoin('node', 'n', static::JOIN);
     $query->addField('n', 'type');
+    $query->addField('n', 'language');
     return $query;
   }
 
@@ -54,6 +55,7 @@ class Upload extends DrupalSqlBase {
       'nid' => $this->t('The node Id.'),
       'vid' => $this->t('The version Id.'),
       'type' => $this->t('The node type'),
+      'language' => $this->t('The node language.'),
       'description' => $this->t('The file description.'),
       'list' => $this->t('Whether the list should be visible on the node page.'),
       'weight' => $this->t('The file weight.'),