refactored edlp_migrate
This commit is contained in:
+52
@@ -0,0 +1,52 @@
|
||||
# Every migration that references a file by Drupal 6 fid should specify this
|
||||
# migration as an optional dependency.
|
||||
id: d6_edlp_allfiles
|
||||
label: Edlp Drupal 6 mp3 migration
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
migration_group: d6_edlp
|
||||
source:
|
||||
plugin: d6_file
|
||||
constants:
|
||||
# The tool configuring this migration must set source_base_path. It
|
||||
# represents the fully qualified path relative to which URIs in the files
|
||||
# table are specified, and must end with a /. See source_full_path
|
||||
# configuration in this migration's process pipeline as an example.
|
||||
source_base_path: '../drupal6/'
|
||||
|
||||
process:
|
||||
# If you are using both this migration and d6_user_picture_file in a custom
|
||||
# migration and executing migrations incrementally, it is strongly
|
||||
# recommended that you remove the fid mapping to avoid potential ID
|
||||
# conflicts. For that reason, this mapping is commented out by default.
|
||||
fid: fid
|
||||
filename: filename
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
-
|
||||
plugin: urlencode
|
||||
destination_full_path:
|
||||
plugin: file_uri
|
||||
source:
|
||||
- filepath
|
||||
- file_directory_path
|
||||
- temp_directory_path
|
||||
- is_public
|
||||
uri:
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- '@destination_full_path'
|
||||
filemime: filemime
|
||||
# No need to migrate filesize, it is computed when file entities are saved.
|
||||
# filesize: filesize
|
||||
status: status
|
||||
changed: timestamp
|
||||
uid: uid
|
||||
destination:
|
||||
plugin: entity:file
|
||||
+155
@@ -0,0 +1,155 @@
|
||||
id: d6_edlp_corpus
|
||||
label: Edlp Drupal 6 corpus
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
|
||||
migration_group: d6_edlp
|
||||
source:
|
||||
plugin: d6_edlp_corpus
|
||||
node_type: corpus
|
||||
process:
|
||||
# In D6, nodes always have a tnid, but it's zero for untranslated nodes.
|
||||
# We normalize it to equal the nid in that case.
|
||||
# @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
|
||||
# If you are using this file to build a custom migration consider removing
|
||||
# the nid and vid fields to allow incremental migrations.
|
||||
# nid: tnid
|
||||
# vid: vid
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: enregistrement
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: "und"
|
||||
title:
|
||||
-
|
||||
plugin: get
|
||||
source: title
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
|
||||
# this is not working :(
|
||||
uid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: d6_edlp_users
|
||||
source: node_uid
|
||||
-
|
||||
plugin: default_value
|
||||
default_value: 1
|
||||
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
# 'body/format':
|
||||
# plugin: migration_lookup
|
||||
# migration: d6_filter_format
|
||||
# source: format
|
||||
|
||||
# ARTICLE (body)
|
||||
# node ref -> text
|
||||
# 'body/value': here we have to get the body value of article
|
||||
# 'body/summary': teaser
|
||||
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
#
|
||||
# custom fields
|
||||
# workflow
|
||||
|
||||
# text -> entity ref terms
|
||||
# field_artiste: field_locuteur_s
|
||||
# field_locuteurs_s:
|
||||
# plugin: entity_generate
|
||||
# entity_type: taxonomy_term
|
||||
# bundle_key: vid
|
||||
# bundle: locuteurs
|
||||
# source: field_artiste
|
||||
# value_key: field_artiste_value
|
||||
|
||||
|
||||
# text -> entity ref terms
|
||||
# field_compositeur: field_collectionneur_s
|
||||
# field_collectionneur_s:
|
||||
# plugin: entity_generate
|
||||
# entity_type: taxonomy_term
|
||||
# bundle_key: vid
|
||||
# bundle: collectionneurs
|
||||
# source: field_compositeur
|
||||
# value_key: field_compositeur_value
|
||||
|
||||
# taxo term -> entity ref terms
|
||||
# field_entree_s:
|
||||
# plugin: iterator
|
||||
# source:
|
||||
# plugin: migration_lookup
|
||||
# migration: d6_edlp_entrees
|
||||
# source: name
|
||||
|
||||
# field_genre: field_genre_s
|
||||
field_genre_s:
|
||||
-
|
||||
plugin: iterator
|
||||
source: field_genre
|
||||
process:
|
||||
tid: value
|
||||
-
|
||||
plugin: flatten
|
||||
# -
|
||||
# plugin: migration_lookup
|
||||
# migration: d6_edlp_genres
|
||||
|
||||
# plugin: migration
|
||||
# migration: d6_edlp_genres
|
||||
# source: field_genre
|
||||
|
||||
# plugin: iterator
|
||||
# source: field_genre
|
||||
# process:
|
||||
# target_id:
|
||||
# plugin: migration_lookup
|
||||
# migration: d6_edlp_genres
|
||||
# source: value
|
||||
|
||||
# taxo term -> entity ref terms
|
||||
# field_langue: field_langue_s
|
||||
|
||||
# file
|
||||
# field_mp3: field_fichier_son
|
||||
field_fichier_son:
|
||||
plugin: migration_lookup
|
||||
migration: d6_edlp_allfiles
|
||||
source: fid
|
||||
|
||||
# plugin: iterator
|
||||
# source: field_mp3
|
||||
# process:
|
||||
# target_id:
|
||||
# plugin: migration_lookup
|
||||
# migration: d6_edlp_allfiles
|
||||
# source: fid
|
||||
|
||||
field_notes: body
|
||||
|
||||
|
||||
|
||||
# unmapped d6 fields.
|
||||
# tnid
|
||||
# translate
|
||||
# moderate
|
||||
# comment
|
||||
|
||||
destination:
|
||||
plugin: entity:node
|
||||
migration_dependencies:
|
||||
required:
|
||||
- d6_edlp_users
|
||||
- d6_edlp_entrees
|
||||
- d6_edlp_genres
|
||||
- d6_edlp_langues
|
||||
- d6_edlp_allfiles
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
id: d6_edlp_entrees
|
||||
label: Edlp Drupal 6 entrees
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
migration_group: d6_edlp
|
||||
source:
|
||||
plugin: d6_edlp_taxonomy_term_entree
|
||||
bundle: 2
|
||||
process:
|
||||
name: name
|
||||
description:
|
||||
-
|
||||
plugin: get
|
||||
source: description
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: entrees
|
||||
weight: weight
|
||||
|
||||
# todo : get the node type entrée from source and add it to description field (we need a plugin for that)
|
||||
|
||||
destination:
|
||||
plugin: entity:taxonomy_term
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
id: edlp_d6_genres
|
||||
id: d6_edlp_genres
|
||||
label: Edlp Drupal 6 genres
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
migration_group: edlp
|
||||
migration_group: d6_edlp
|
||||
source:
|
||||
plugin: d6_taxonomy_term
|
||||
bundle: 3
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
id: edlp_d6_langues
|
||||
id: d6_edlp_langues
|
||||
label: Edlp Drupal 6 langues
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
migration_group: edlp
|
||||
migration_group: d6_edlp
|
||||
source:
|
||||
plugin: d6_taxonomy_term
|
||||
bundle: 4
|
||||
+3
-3
@@ -1,10 +1,10 @@
|
||||
id: edlp_d6_users
|
||||
id: d6_edlp_users
|
||||
label: Edlp Drupal 6 User accounts
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
migration_group: edlp
|
||||
migration_group: d6_edlp
|
||||
source:
|
||||
plugin: edlp_d6_users
|
||||
plugin: d6_edlp_users
|
||||
process:
|
||||
# If you are using this file to build a custom migration consider removing
|
||||
# the uid field to allow incremental migrations.
|
||||
-90
@@ -1,90 +0,0 @@
|
||||
id: edlp_d6_corpus
|
||||
label: Edlp Drupal 6 corpus
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
deriver: Drupal\node\Plugin\migrate\D6NodeDeriver
|
||||
migration_group: edlp
|
||||
source:
|
||||
plugin: edlp_d6_corpus
|
||||
node_type: corpus
|
||||
process:
|
||||
# In D6, nodes always have a tnid, but it's zero for untranslated nodes.
|
||||
# We normalize it to equal the nid in that case.
|
||||
# @see \Drupal\node\Plugin\migrate\source\d6\Node::prepareRow().
|
||||
# If you are using this file to build a custom migration consider removing
|
||||
# the nid and vid fields to allow incremental migrations.
|
||||
# nid: tnid
|
||||
# vid: vid
|
||||
type:
|
||||
plugin: default_value
|
||||
default_value: enregistrement
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: "und"
|
||||
title: title
|
||||
uid:
|
||||
plugin: migration
|
||||
migration: edlp_d6_users
|
||||
source: uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
# 'body/format':
|
||||
# plugin: migration_lookup
|
||||
# migration: d6_filter_format
|
||||
# source: format
|
||||
'body/value': notes
|
||||
# 'body/summary': teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
#
|
||||
# custom fields
|
||||
# workflow
|
||||
# text -> entity ref terms
|
||||
# field_artiste: field_locuteur_s
|
||||
# text -> entity ref terms
|
||||
# field_compositeur: field_collectionneur_s
|
||||
|
||||
# taxo term -> entity ref terms
|
||||
# field_entree_s:
|
||||
# plugin: entity_generate
|
||||
# source: Type
|
||||
# entity_type: taxonomy_term
|
||||
# bundle_key: vid
|
||||
# bundle: entrees
|
||||
# value_key: name
|
||||
|
||||
# field_genre: field_genre_s
|
||||
# field_genre_s:
|
||||
# plugin: entity_generate
|
||||
# source: field_genre
|
||||
# entity_type: taxonomy_term
|
||||
# bundle_key: vid
|
||||
# bundle: genres
|
||||
# value_key: name
|
||||
|
||||
# taxo term -> entity ref terms
|
||||
# field_langue: field_langue_s
|
||||
# file
|
||||
# field_mp3: field_fichier_son
|
||||
# node ref -> text
|
||||
# field_article: body
|
||||
|
||||
|
||||
|
||||
# unmapped d6 fields.
|
||||
# tnid
|
||||
# translate
|
||||
# moderate
|
||||
# comment
|
||||
|
||||
destination:
|
||||
plugin: entity:node
|
||||
migration_dependencies:
|
||||
required:
|
||||
- edlp_d6_users
|
||||
- edlp_d6_entrees
|
||||
-17
@@ -1,17 +0,0 @@
|
||||
id: edlp_d6_entrees
|
||||
label: Edlp Drupal 6 entrees
|
||||
migration_tags:
|
||||
- Drupal 6
|
||||
migration_group: edlp
|
||||
source:
|
||||
plugin: d6_taxonomy_term
|
||||
bundle: 2
|
||||
process:
|
||||
name: name
|
||||
description: description
|
||||
vid:
|
||||
plugin: default_value
|
||||
default_value: entrees
|
||||
|
||||
destination:
|
||||
plugin: entity:taxonomy_term
|
||||
+7
@@ -0,0 +1,7 @@
|
||||
id: d6_edlp
|
||||
label: D6 Edlp
|
||||
description: Drupal 6 edlp content migration to Drupal 8.
|
||||
source_type: Drupal 6.
|
||||
shared_configuration:
|
||||
source:
|
||||
key: legacy
|
||||
@@ -6,3 +6,4 @@ package: Edlp
|
||||
dependencies:
|
||||
- migrate_drupal
|
||||
- migrate_plus
|
||||
- migrate_tools
|
||||
|
||||
@@ -1,7 +0,0 @@
|
||||
id: edlp
|
||||
label: Edlp
|
||||
description: Drupal 6 edlp content migrated to Drupal 8.
|
||||
source_type: Drupal 6.
|
||||
shared_configuration:
|
||||
source:
|
||||
key: legacy
|
||||
@@ -9,3 +9,15 @@ https://drupal.stackexchange.com/questions/164612/how-do-i-remove-a-configuratio
|
||||
https://www.metaltoad.com/blog/drupal-8-migrations-part-3-migrating-taxonomies-drupal-7
|
||||
|
||||
https://www.sitepoint.com/your-first-drupal-8-migration/
|
||||
|
||||
https://evolvingweb.ca/blog/drupal-8-migration-migrating-taxonomy-term-references-part-2
|
||||
|
||||
[text to taxonomy term](http://boylesoftware.com/blog/drupal-8-migration-taxonomy-term-lookups/)
|
||||
|
||||
[Upgrading Drupal 6 and i18n Content Translation to Drupal 8](https://www.dunix-data.de/blog/upgrading_drupal_6_and_i18n_content_translation_to_drupal_8)
|
||||
|
||||
[Migrating Drupal 7 File Entities to Drupal 8 Media Entities](https://www.previousnext.com.au/blog/migrating-drupal-7-file-entities-drupal-8-media-entities)
|
||||
|
||||
[D6 Taxonomy Term Reference Field is not migrated to D8 Field](https://www.drupal.org/node/2884240)
|
||||
|
||||
[Migrer un site Drupal 6 ou Drupal 7 vers Drupal 8](https://www.drupalfacile.org/sites/drupalfacile/files/blog/2016/06/dcnantes2016-migrerd6d7versd8.pdf)
|
||||
|
||||
@@ -0,0 +1,124 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\edlp_migrate\Plugin\migrate\source;
|
||||
|
||||
use Drupal\migrate\Row;
|
||||
use Drupal\node\Plugin\migrate\source\d6\Node as D6Node;
|
||||
|
||||
/**
|
||||
* Source plugin for edlp corpus migration.
|
||||
*
|
||||
* @MigrateSource(
|
||||
* id = "d6_edlp_corpus"
|
||||
* )
|
||||
*/
|
||||
class D6EdlpCorpus extends D6Node {
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function query() {
|
||||
$query = $this->select('node_revisions', 'nr');
|
||||
$query->innerJoin('node', 'n', static::JOIN);
|
||||
$this->handleTranslations($query);
|
||||
|
||||
$query->fields('n', [
|
||||
'nid',
|
||||
'type',
|
||||
'language',
|
||||
'status',
|
||||
'created',
|
||||
'changed',
|
||||
'comment',
|
||||
'promote',
|
||||
'moderate',
|
||||
'sticky',
|
||||
'tnid',
|
||||
'translate',
|
||||
])
|
||||
->fields('nr', [
|
||||
'title',
|
||||
'body',
|
||||
'teaser',
|
||||
'log',
|
||||
'timestamp',
|
||||
'format',
|
||||
'vid',
|
||||
]);
|
||||
$query->addField('n', 'uid', 'node_uid');
|
||||
$query->addField('nr', 'uid', 'revision_uid');
|
||||
|
||||
// If the content_translation module is enabled, get the source langcode
|
||||
// to fill the content_translation_source field.
|
||||
if ($this->moduleHandler->moduleExists('content_translation')) {
|
||||
$query->leftJoin('node', 'nt', 'n.tnid = nt.nid');
|
||||
$query->addField('nt', 'language', 'source_langcode');
|
||||
}
|
||||
|
||||
if (isset($this->configuration['node_type'])) {
|
||||
$query->condition('n.type', $this->configuration['node_type']);
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function fields() {
|
||||
|
||||
$fields = [
|
||||
'nid' => $this->t('Node ID'),
|
||||
'type' => $this->t('Type'),
|
||||
'title' => $this->t('Title'),
|
||||
'body' => $this->t('Body'),
|
||||
'format' => $this->t('Format'),
|
||||
'teaser' => $this->t('Teaser'),
|
||||
'node_uid' => $this->t('Node authored by (uid)'),
|
||||
'revision_uid' => $this->t('Revision authored by (uid)'),
|
||||
'created' => $this->t('Created timestamp'),
|
||||
'changed' => $this->t('Modified timestamp'),
|
||||
'status' => $this->t('Published'),
|
||||
'promote' => $this->t('Promoted to front page'),
|
||||
'sticky' => $this->t('Sticky at top of lists'),
|
||||
'revision' => $this->t('Create new revision'),
|
||||
'language' => $this->t('Language (fr, en, ...)'),
|
||||
'tnid' => $this->t('The translation set id for this node'),
|
||||
'timestamp' => $this->t('The timestamp the latest revision of this node was created.'),
|
||||
];
|
||||
return $fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function prepareRow(Row $row) {
|
||||
// format = 0 can happen when the body field is hidden. Set the format to 1
|
||||
// to avoid migration map issues (since the body field isn't used anyway).
|
||||
if ($row->getSourceProperty('format') === '0') {
|
||||
$row->setSourceProperty('format', $this->filterDefaultFormat);
|
||||
}
|
||||
|
||||
if ($this->moduleExists('content') && $this->getModuleSchemaVersion('content') >= 6001) {
|
||||
foreach ($this->getFieldValues($row) as $field => $values) {
|
||||
$row->setSourceProperty($field, $values);
|
||||
// \Drupal::logger('edlp_migrate')->debug(print_r($values));
|
||||
// print_r($field);
|
||||
// print_r("\n");
|
||||
// print_r($values);
|
||||
}
|
||||
}
|
||||
|
||||
// Make sure we always have a translation set.
|
||||
if ($row->getSourceProperty('tnid') == 0) {
|
||||
$row->setSourceProperty('tnid', $row->getSourceProperty('nid'));
|
||||
}
|
||||
|
||||
$row = parent::prepareRow($row);
|
||||
return $row;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
+94
@@ -0,0 +1,94 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\edlp_migrate\Plugin\migrate\source;
|
||||
|
||||
use Drupal\migrate\Row;
|
||||
use Drupal\migrate_drupal\Plugin\migrate\source\DrupalSqlBase;
|
||||
|
||||
/**
|
||||
* D6 Edlp Taxonomy Entree term source from database.
|
||||
*
|
||||
* @MigrateSource(
|
||||
* id = "d6_edlp_taxonomy_term_entree"
|
||||
* )
|
||||
*/
|
||||
class D6EdlpTaxonomyTermEntree extends DrupalSqlBase {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function query() {
|
||||
// drush_print('D6EdlpTaxonomyTermEntree query');
|
||||
|
||||
$query = $this->select('term_data', 'td')
|
||||
->fields('td')
|
||||
->distinct()
|
||||
->orderBy('td.tid');
|
||||
|
||||
if (isset($this->configuration['bundle'])) {
|
||||
$query->condition('td.vid', (array) $this->configuration['bundle'], 'IN');
|
||||
}
|
||||
|
||||
return $query;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function fields() {
|
||||
$fields = [
|
||||
'tid' => $this->t('The term ID.'),
|
||||
'vid' => $this->t('Existing term VID'),
|
||||
'name' => $this->t('The name of the term.'),
|
||||
'description' => $this->t('The term description.'),
|
||||
'weight' => $this->t('Weight'),
|
||||
'parent' => $this->t("The Drupal term IDs of the term's parents."),
|
||||
'node_nid' => $this->t("The node's nid of entree's description."),
|
||||
];
|
||||
if (isset($this->configuration['translations'])) {
|
||||
$fields['language'] = $this->t('The term language.');
|
||||
$fields['trid'] = $this->t('Translation ID.');
|
||||
}
|
||||
// print_r($fields);
|
||||
// print_r("\n");
|
||||
|
||||
return $fields;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function prepareRow(Row $row) {
|
||||
// drush_print_r($row);
|
||||
// Find parents for this row.
|
||||
$parents = $this->select('term_hierarchy', 'th')
|
||||
->fields('th', ['parent', 'tid'])
|
||||
->condition('tid', $row->getSourceProperty('tid'))
|
||||
->execute()
|
||||
->fetchCol();
|
||||
$row->setSourceProperty('parent', $parents);
|
||||
|
||||
// find node attached to this term for description
|
||||
$query = $this->select('content_type_entree', 'cte');
|
||||
// $query->fields('cte', ['nid', 'vid', 'field_entree_value']);
|
||||
$query->condition('cte.field_entree_value', $row->getSourceProperty('tid'));
|
||||
$query->join('node_revisions', 'nr', 'cte.nid = nr.nid');
|
||||
$query->addField('nr', 'body');
|
||||
$description = $query->execute()
|
||||
->fetchField();
|
||||
|
||||
// drush_print_r($node);
|
||||
$row->setSourceProperty('description', $description);
|
||||
|
||||
return parent::prepareRow($row);
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function getIds() {
|
||||
$ids['tid']['type'] = 'integer';
|
||||
return $ids;
|
||||
}
|
||||
|
||||
}
|
||||
+2
-2
@@ -9,10 +9,10 @@ use Drupal\user\Plugin\migrate\source\d6\User as D6User;
|
||||
* Source plugin for edlp user accounts.
|
||||
*
|
||||
* @MigrateSource(
|
||||
* id = "edlp_d6_users"
|
||||
* id = "d6_edlp_users"
|
||||
* )
|
||||
*/
|
||||
class EdlpD6Users extends D6User {
|
||||
class D6EdlpUsers extends D6User {
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Drupal\edlp_migrate\Plugin\migrate\source;
|
||||
|
||||
use Drupal\migrate\Row;
|
||||
use Drupal\node\Plugin\migrate\source\d6\Node as D6Node;
|
||||
|
||||
/**
|
||||
* Source plugin for edlp corpus migration.
|
||||
*
|
||||
* @MigrateSource(
|
||||
* id = "edlp_d6_corpus"
|
||||
* )
|
||||
*/
|
||||
class EdlpD6Corpus extends D6Node {
|
||||
|
||||
|
||||
}
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
uuid: c753bc0d-2afe-4551-a18c-807ff5dca454
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_block
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: Blocks
|
||||
source:
|
||||
plugin: block
|
||||
process:
|
||||
status:
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
source: status
|
||||
id:
|
||||
plugin: make_unique_entity_field
|
||||
entity_type: block
|
||||
field: id
|
||||
postfix: _
|
||||
length: 32
|
||||
source: module
|
||||
plugin:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source:
|
||||
- module
|
||||
- delta
|
||||
map:
|
||||
book:
|
||||
- book_navigation
|
||||
comment:
|
||||
- 'views_block:comments_recent-block_1'
|
||||
forum:
|
||||
- forum_active_block
|
||||
- forum_new_block
|
||||
locale:
|
||||
- language_block
|
||||
node:
|
||||
- node_syndicate_block
|
||||
search:
|
||||
- search_form_block
|
||||
statistics:
|
||||
- statistics_popular_block
|
||||
system:
|
||||
- system_powered_by_block
|
||||
user:
|
||||
- user_login_block
|
||||
- 'system_menu_block:tools'
|
||||
- 'views_block:who_s_new-block_1'
|
||||
- 'views_block:who_s_online-who_s_online_block'
|
||||
-
|
||||
plugin: block_plugin_id
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
theme:
|
||||
plugin: block_theme
|
||||
source:
|
||||
- theme
|
||||
- default_theme
|
||||
- admin_theme
|
||||
region:
|
||||
plugin: block_region
|
||||
source:
|
||||
- theme
|
||||
- '@theme'
|
||||
- region
|
||||
map:
|
||||
garland:
|
||||
bartik:
|
||||
header: header
|
||||
footer: footer_fifth
|
||||
left: sidebar_first
|
||||
right: sidebar_second
|
||||
default_value: content
|
||||
weight: weight
|
||||
settings:
|
||||
plugin: block_settings
|
||||
source:
|
||||
- '@plugin'
|
||||
- delta
|
||||
- settings
|
||||
- title
|
||||
visibility:
|
||||
plugin: block_visibility
|
||||
source:
|
||||
- visibility
|
||||
- pages
|
||||
- roles
|
||||
skip_php: true
|
||||
destination:
|
||||
plugin: 'entity:block'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_menu
|
||||
- upgrade_d6_user_role
|
||||
optional: { }
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
uuid: 000c667a-afec-4496-ada0-872cdfdc11dd
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_date_formats
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Date format configuration'
|
||||
source:
|
||||
plugin: variable_multirow
|
||||
variables:
|
||||
- date_format_long
|
||||
- date_format_medium
|
||||
- date_format_short
|
||||
source_module: system
|
||||
process:
|
||||
id:
|
||||
plugin: static_map
|
||||
source: name
|
||||
map:
|
||||
date_format_long: long
|
||||
date_format_short: short
|
||||
date_format_medium: medium
|
||||
pattern: value
|
||||
destination:
|
||||
plugin: 'entity:date_format'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
uuid: b39c0d9d-deef-477b-b90d-9f7c8e121050
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_dblog_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Database logging configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- dblog_row_limit
|
||||
source_module: dblog
|
||||
process:
|
||||
row_limit: dblog_row_limit
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: dblog.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+136
@@ -0,0 +1,136 @@
|
||||
uuid: b8ed99c1-7f9d-4558-b791-627e575505f0
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_field
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Field configuration'
|
||||
source:
|
||||
plugin: d6_field
|
||||
constants:
|
||||
entity_type: node
|
||||
langcode: en
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
status: active
|
||||
langcode: constants/langcode
|
||||
field_name: field_name
|
||||
type:
|
||||
plugin: field_type
|
||||
source:
|
||||
- type
|
||||
- widget_type
|
||||
map:
|
||||
userreference:
|
||||
userreference_select: entity_reference
|
||||
userreference_buttons: entity_reference
|
||||
userreference_autocomplete: entity_reference
|
||||
nodereference:
|
||||
nodereference_select: entity_reference
|
||||
number_integer:
|
||||
number: integer
|
||||
optionwidgets_select: list_integer
|
||||
optionwidgets_buttons: list_integer
|
||||
optionwidgets_onoff: boolean
|
||||
number_decimal:
|
||||
number: decimal
|
||||
optionwidgets_select: list_float
|
||||
optionwidgets_buttons: list_float
|
||||
optionwidgets_onoff: boolean
|
||||
number_float:
|
||||
number: float
|
||||
optionwidgets_select: list_float
|
||||
optionwidgets_buttons: list_float
|
||||
optionwidgets_onoff: boolean
|
||||
email:
|
||||
email_textfield: email
|
||||
filefield:
|
||||
imagefield_widget: image
|
||||
filefield_widget: file
|
||||
fr_phone:
|
||||
phone_textfield: telephone
|
||||
be_phone:
|
||||
phone_textfield: telephone
|
||||
it_phone:
|
||||
phone_textfield: telephone
|
||||
el_phone:
|
||||
phone_textfield: telephone
|
||||
ch_phone:
|
||||
phone_textfield: telephone
|
||||
ca_phone:
|
||||
phone_textfield: telephone
|
||||
cr_phone:
|
||||
phone_textfield: telephone
|
||||
pa_phone:
|
||||
phone_textfield: telephone
|
||||
gb_phone:
|
||||
phone_textfield: telephone
|
||||
ru_phone:
|
||||
phone_textfield: telephone
|
||||
ua_phone:
|
||||
phone_textfield: telephone
|
||||
es_phone:
|
||||
phone_textfield: telephone
|
||||
au_phone:
|
||||
phone_textfield: telephone
|
||||
cs_phone:
|
||||
phone_textfield: telephone
|
||||
hu_phone:
|
||||
phone_textfield: telephone
|
||||
pl_phone:
|
||||
phone_textfield: telephone
|
||||
nl_phone:
|
||||
phone_textfield: telephone
|
||||
se_phone:
|
||||
phone_textfield: telephone
|
||||
za_phone:
|
||||
phone_textfield: telephone
|
||||
il_phone:
|
||||
phone_textfield: telephone
|
||||
nz_phone:
|
||||
phone_textfield: telephone
|
||||
br_phone:
|
||||
phone_textfield: telephone
|
||||
cl_phone:
|
||||
phone_textfield: telephone
|
||||
cn_phone:
|
||||
phone_textfield: telephone
|
||||
hk_phone:
|
||||
phone_textfield: telephone
|
||||
mo_phone:
|
||||
phone_textfield: telephone
|
||||
ph_phone:
|
||||
phone_textfield: telephone
|
||||
sg_phone:
|
||||
phone_textfield: telephone
|
||||
jo_phone:
|
||||
phone_textfield: telephone
|
||||
eg_phone:
|
||||
phone_textfield: telephone
|
||||
pk_phone:
|
||||
phone_textfield: telephone
|
||||
int_phone:
|
||||
phone_textfield: telephone
|
||||
cardinality:
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: multiple
|
||||
map:
|
||||
- 1
|
||||
- -1
|
||||
settings:
|
||||
plugin: field_settings
|
||||
source:
|
||||
- '@type'
|
||||
- global_settings
|
||||
- type
|
||||
destination:
|
||||
plugin: 'entity:field_storage_config'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+287
@@ -0,0 +1,287 @@
|
||||
uuid: 523bf19a-6869-44e1-8fbf-fc77096c9281
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_field_formatter_settings
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Field formatter configuration'
|
||||
source:
|
||||
plugin: d6_field_instance_per_view_mode
|
||||
constants:
|
||||
entity_type: node
|
||||
third_party_settings: { }
|
||||
process:
|
||||
field_type_exists:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_field
|
||||
source:
|
||||
- field_name
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
entity_type: constants/entity_type
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_type
|
||||
source: type_name
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
view_mode:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_view_modes
|
||||
source:
|
||||
- view_mode
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
map:
|
||||
full: default
|
||||
field_name: field_name
|
||||
options/label: label
|
||||
options/weight: weight
|
||||
options/type:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source:
|
||||
- type
|
||||
- display_settings/format
|
||||
map:
|
||||
number_integer:
|
||||
default: number_integer
|
||||
us_0: number_integer
|
||||
be_0: number_integer
|
||||
fr_0: number_integer
|
||||
unformatted: number_unformatted
|
||||
number_float:
|
||||
default: number_decimal
|
||||
us_0: number_decimal
|
||||
us_1: number_decimal
|
||||
us_2: number_decimal
|
||||
be_0: number_decimal
|
||||
be_1: number_decimal
|
||||
be_2: number_decimal
|
||||
fr_0: number_decimal
|
||||
fr_1: number_decimal
|
||||
fr_2: number_decimal
|
||||
unformatted: number_unformatted
|
||||
number_decimal:
|
||||
default: number_decimal
|
||||
us_0: number_decimal
|
||||
us_1: number_decimal
|
||||
us_2: number_decimal
|
||||
be_0: number_decimal
|
||||
be_1: number_decimal
|
||||
be_2: number_decimal
|
||||
fr_0: number_decimal
|
||||
fr_1: number_decimal
|
||||
fr_2: number_decimal
|
||||
unformatted: number_unformatted
|
||||
email:
|
||||
default: email_mailto
|
||||
spamspan: email_mailto
|
||||
contact: email_mailto
|
||||
plain: basic_string
|
||||
fr_phone:
|
||||
default: basic_string
|
||||
be_phone:
|
||||
default: basic_string
|
||||
it_phone:
|
||||
default: basic_string
|
||||
el_phone:
|
||||
default: basic_string
|
||||
ch_phone:
|
||||
default: basic_string
|
||||
ca_phone:
|
||||
default: basic_string
|
||||
cr_phone:
|
||||
default: basic_string
|
||||
pa_phone:
|
||||
default: basic_string
|
||||
gb_phone:
|
||||
default: basic_string
|
||||
ru_phone:
|
||||
default: basic_string
|
||||
ua_phone:
|
||||
default: basic_string
|
||||
es_phone:
|
||||
default: basic_string
|
||||
au_phone:
|
||||
default: basic_string
|
||||
cs_phone:
|
||||
default: basic_string
|
||||
hu_phone:
|
||||
default: basic_string
|
||||
pl_phone:
|
||||
default: basic_string
|
||||
nl_phone:
|
||||
default: basic_string
|
||||
se_phone:
|
||||
default: basic_string
|
||||
za_phone:
|
||||
default: basic_string
|
||||
il_phone:
|
||||
default: basic_string
|
||||
nz_phone:
|
||||
default: basic_string
|
||||
br_phone:
|
||||
default: basic_string
|
||||
cl_phone:
|
||||
default: basic_string
|
||||
cn_phone:
|
||||
default: basic_string
|
||||
hk_phone:
|
||||
default: basic_string
|
||||
mo_phone:
|
||||
default: basic_string
|
||||
ph_phone:
|
||||
default: basic_string
|
||||
sg_phone:
|
||||
default: basic_string
|
||||
jo_phone:
|
||||
default: basic_string
|
||||
eg_phone:
|
||||
default: basic_string
|
||||
pk_phone:
|
||||
default: basic_string
|
||||
int_phone:
|
||||
default: basic_string
|
||||
nodereference:
|
||||
default: entity_reference_label
|
||||
plain: entity_reference_label
|
||||
full: entity_reference_entity_view
|
||||
teaser: entity_reference_entity_view
|
||||
userreference:
|
||||
default: entity_reference_label
|
||||
plain: entity_reference_label
|
||||
-
|
||||
plugin: field_type_defaults
|
||||
options/settings:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source:
|
||||
- module
|
||||
- display_settings/format
|
||||
map:
|
||||
nodereference:
|
||||
default: { }
|
||||
plain:
|
||||
link: false
|
||||
full:
|
||||
view_mode: full
|
||||
teaser:
|
||||
view_mode: teaser
|
||||
userreference:
|
||||
default: { }
|
||||
plain:
|
||||
link: false
|
||||
link:
|
||||
default:
|
||||
trim_length: '80'
|
||||
url_only: 0
|
||||
url_plain: 0
|
||||
rel: 0
|
||||
target: 0
|
||||
plain:
|
||||
trim_length: '80'
|
||||
url_only: 1
|
||||
url_plain: 1
|
||||
rel: 0
|
||||
target: 0
|
||||
absolute:
|
||||
trim_length: '80'
|
||||
url_only: 1
|
||||
url_plain: 1
|
||||
rel: 0
|
||||
target: 0
|
||||
title_plain:
|
||||
trim_length: '80'
|
||||
url_only: 1
|
||||
url_plain: 1
|
||||
rel: 0
|
||||
target: 0
|
||||
url:
|
||||
trim_length: '80'
|
||||
url_only: 1
|
||||
url_plain: 0
|
||||
rel: 0
|
||||
target: 0
|
||||
short:
|
||||
trim_length: '80'
|
||||
url_only: 0
|
||||
url_plain: 0
|
||||
rel: 0
|
||||
target: 0
|
||||
label:
|
||||
trim_length: '80'
|
||||
url_only: 0
|
||||
url_plain: 0
|
||||
rel: 0
|
||||
target: 0
|
||||
separate:
|
||||
trim_length: '80'
|
||||
rel: 0
|
||||
target: 0
|
||||
filefield:
|
||||
image_plain:
|
||||
image_style: ''
|
||||
image_link: ''
|
||||
image_nodelink:
|
||||
image_style: ''
|
||||
image_link: content
|
||||
image_imagelink:
|
||||
image_style: ''
|
||||
image_link: file
|
||||
date:
|
||||
default:
|
||||
format_type: fallback
|
||||
timezone_override: ''
|
||||
format_interval:
|
||||
format_type: fallback
|
||||
timezone_override: ''
|
||||
long:
|
||||
format_type: long
|
||||
timezone_override: ''
|
||||
medium:
|
||||
format_type: medium
|
||||
timezone_override: ''
|
||||
short:
|
||||
format_type: short
|
||||
timezone_override: ''
|
||||
text:
|
||||
trimmed:
|
||||
trim_length: 600
|
||||
string:
|
||||
default:
|
||||
link_to_entity: false
|
||||
-
|
||||
plugin: field_formatter_settings_defaults
|
||||
options/third_party_settings: constants/third_party_settings
|
||||
destination:
|
||||
plugin: component_entity_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_field_instance
|
||||
- upgrade_d6_view_modes
|
||||
optional: { }
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
uuid: 2a618d8d-6ac9-4ead-82bb-b320ad7a3cfb
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_field_instance
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Field instance configuration'
|
||||
source:
|
||||
plugin: d6_field_instance
|
||||
constants:
|
||||
entity_type: node
|
||||
process:
|
||||
field_type_exists:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_field
|
||||
source:
|
||||
- field_name
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
entity_type: constants/entity_type
|
||||
field_name: field_name
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_type
|
||||
source: type_name
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
label: label
|
||||
description: description
|
||||
required: required
|
||||
status: active
|
||||
settings:
|
||||
plugin: d6_field_field_settings
|
||||
source:
|
||||
- widget_type
|
||||
- widget_settings
|
||||
- global_settings
|
||||
default_value_callback: ''
|
||||
default_value:
|
||||
plugin: d6_field_instance_defaults
|
||||
source:
|
||||
- widget_type
|
||||
- widget_settings
|
||||
destination:
|
||||
plugin: 'entity:field_config'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_field
|
||||
optional: { }
|
||||
+75
@@ -0,0 +1,75 @@
|
||||
uuid: ac44a277-5cdd-4379-886d-102bc9d6ddea
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_field_instance_widget_settings
|
||||
class: Drupal\migrate_drupal\Plugin\migrate\FieldMigration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Field instance widget configuration'
|
||||
source:
|
||||
plugin: d6_field_instance_per_form_display
|
||||
constants:
|
||||
entity_type: node
|
||||
form_mode: default
|
||||
third_party_settings: { }
|
||||
process:
|
||||
field_type_exists:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_field
|
||||
source:
|
||||
- field_name
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_type
|
||||
source: type_name
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
form_mode: constants/form_mode
|
||||
field_name: field_name
|
||||
entity_type: constants/entity_type
|
||||
options/weight: weight
|
||||
options/type:
|
||||
type:
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: widget_type
|
||||
map:
|
||||
number: number
|
||||
email_textfield: email_default
|
||||
date_select: datetime_default
|
||||
date_text: datetime_default
|
||||
date_popup: datetime_default
|
||||
imagefield_widget: image_image
|
||||
phone_textfield: telephone_default
|
||||
optionwidgets_onoff: boolean_checkbox
|
||||
optionwidgets_buttons: options_buttons
|
||||
optionwidgets_select: options_select
|
||||
nodereference_select: options_select
|
||||
userreference_select: options_select
|
||||
options/settings:
|
||||
-
|
||||
plugin: field_instance_widget_settings
|
||||
source:
|
||||
- widget_type
|
||||
- widget_settings
|
||||
options/third_party_settings: constants/third_party_settings
|
||||
destination:
|
||||
plugin: component_entity_form_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_field_instance
|
||||
optional: { }
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
uuid: dcd1eb8d-512d-43b8-82ce-8ea888ca4ef1
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_file
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Public files'
|
||||
source:
|
||||
plugin: d6_file
|
||||
constants:
|
||||
source_base_path: ../drupal6/
|
||||
process:
|
||||
filename: filename
|
||||
source_full_path:
|
||||
-
|
||||
plugin: concat
|
||||
delimiter: /
|
||||
source:
|
||||
- constants/source_base_path
|
||||
- filepath
|
||||
-
|
||||
plugin: urlencode
|
||||
destination_full_path:
|
||||
plugin: file_uri
|
||||
source:
|
||||
- filepath
|
||||
- file_directory_path
|
||||
- temp_directory_path
|
||||
- is_public
|
||||
uri:
|
||||
plugin: file_copy
|
||||
source:
|
||||
- '@source_full_path'
|
||||
- '@destination_full_path'
|
||||
filemime: filemime
|
||||
status: status
|
||||
changed: timestamp
|
||||
uid: uid
|
||||
destination:
|
||||
plugin: 'entity:file'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
uuid: 207557d6-7cdc-4c9a-976a-af89609a421a
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_file_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'File configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- file_description_type
|
||||
- file_description_length
|
||||
- file_icon_directory
|
||||
process:
|
||||
description/type: file_description_type
|
||||
description/length: file_description_length
|
||||
icon/directory: file_icon_directory
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: file.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+50
@@ -0,0 +1,50 @@
|
||||
uuid: 8a3a61b7-7578-4a00-aa6e-44455798d537
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_filter_format
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Filter format configuration'
|
||||
source:
|
||||
plugin: d6_filter_format
|
||||
process:
|
||||
format:
|
||||
plugin: machine_name
|
||||
source: name
|
||||
name: name
|
||||
cache: cache
|
||||
filters:
|
||||
plugin: sub_process
|
||||
source: filters
|
||||
key: '@id'
|
||||
process:
|
||||
id:
|
||||
plugin: filter_id
|
||||
source:
|
||||
- module
|
||||
- delta
|
||||
bypass: true
|
||||
map:
|
||||
filter:
|
||||
- filter_html
|
||||
- filter_autop
|
||||
- filter_url
|
||||
- filter_htmlcorrector
|
||||
- filter_html_escape
|
||||
settings:
|
||||
plugin: filter_settings
|
||||
source: settings
|
||||
status:
|
||||
plugin: default_value
|
||||
default_value: true
|
||||
destination:
|
||||
plugin: 'entity:filter_format'
|
||||
no_stub: true
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
uuid: 32ad2920-6ee1-4387-9cea-30e86660c4fe
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_imagecache_presets
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'ImageCache Presets'
|
||||
source:
|
||||
plugin: d6_imagecache_presets
|
||||
process:
|
||||
name:
|
||||
-
|
||||
plugin: machine_name
|
||||
source: presetname
|
||||
-
|
||||
plugin: make_unique_entity_field
|
||||
entity_type: image_style
|
||||
field: name
|
||||
length: 32
|
||||
label: presetname
|
||||
effects:
|
||||
plugin: d6_imagecache_actions
|
||||
source:
|
||||
- '@plugin'
|
||||
- data
|
||||
destination:
|
||||
plugin: 'entity:image_style'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
uuid: c59681b6-5eb5-49da-bca7-865657e9587d
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_language_content_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Drupal 6 language content settings'
|
||||
source:
|
||||
plugin: d6_language_content_settings
|
||||
constants:
|
||||
target_type: node
|
||||
process:
|
||||
target_bundle: type
|
||||
target_entity_type_id: constants/target_type
|
||||
default_langcode:
|
||||
-
|
||||
plugin: static_map
|
||||
source: language_content_type
|
||||
map:
|
||||
- null
|
||||
- current_interface
|
||||
- current_interface
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
language_alterable:
|
||||
plugin: static_map
|
||||
source: i18n_lock_node
|
||||
map:
|
||||
- true
|
||||
- false
|
||||
third_party_settings/content_translation/enabled:
|
||||
plugin: static_map
|
||||
source: language_content_type
|
||||
map:
|
||||
- null
|
||||
- false
|
||||
- true
|
||||
destination:
|
||||
plugin: 'entity:language_content_settings'
|
||||
content_translation_update_definitions:
|
||||
- node
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_type
|
||||
optional: { }
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
uuid: 387200f7-aeb9-4d35-9640-66d556f89a67
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_language_negotiation_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Language negotiation settings'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- language_negotiation
|
||||
source_module: language
|
||||
process:
|
||||
session/parameter:
|
||||
plugin: default_value
|
||||
default_value: language
|
||||
selected_langcode:
|
||||
plugin: default_value
|
||||
default_value: site_default
|
||||
url/source:
|
||||
plugin: static_map
|
||||
source: language_negotiation
|
||||
default_value: path_prefix
|
||||
map:
|
||||
- path_prefix
|
||||
- path_prefix
|
||||
- path_prefix
|
||||
- domain
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: language.negotiation
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_language
|
||||
optional: { }
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
uuid: 96b26caf-fec1-409f-92b4-f01153a26e3f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_language_types
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Language types'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- language_negotiation
|
||||
source_module: language
|
||||
process:
|
||||
all:
|
||||
plugin: default_value
|
||||
default_value:
|
||||
- language_interface
|
||||
- language_content
|
||||
- language_url
|
||||
configurable:
|
||||
plugin: default_value
|
||||
default_value:
|
||||
- language_interface
|
||||
negotiation/language_content/enabled:
|
||||
plugin: default_value
|
||||
default_value:
|
||||
language-interface: 0
|
||||
negotiation/language_url/enabled:
|
||||
plugin: default_value
|
||||
default_value:
|
||||
language-url: 0
|
||||
language-url-fallback: 1
|
||||
negotiation/language_interface/enabled:
|
||||
plugin: static_map
|
||||
source: language_negotiation
|
||||
map:
|
||||
-
|
||||
language-selected: 0
|
||||
-
|
||||
language-url: 0
|
||||
language-selected: 1
|
||||
-
|
||||
language-url: 0
|
||||
language-user: 1
|
||||
language-browser: 2
|
||||
language-selected: 3
|
||||
-
|
||||
language-url: 0
|
||||
language-selected: 1
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: language.types
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+23
@@ -0,0 +1,23 @@
|
||||
uuid: 6da82ded-3e16-4b0d-bcc0-897140a1055e
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_menu
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: Menus
|
||||
source:
|
||||
plugin: menu
|
||||
process:
|
||||
id: menu_name
|
||||
label: title
|
||||
description: description
|
||||
destination:
|
||||
plugin: 'entity:menu'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
uuid: a4bfa7da-f050-4522-8d4f-135acccba433
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_menu_links
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Menu links'
|
||||
source:
|
||||
plugin: menu_link
|
||||
process:
|
||||
id: mlid
|
||||
title: link_title
|
||||
description: description
|
||||
menu_name:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_menu
|
||||
source: menu_name
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
-
|
||||
plugin: static_map
|
||||
map:
|
||||
management: admin
|
||||
bypass: true
|
||||
link/uri:
|
||||
plugin: link_uri
|
||||
source:
|
||||
- link_path
|
||||
link/options: options
|
||||
route:
|
||||
plugin: route
|
||||
source:
|
||||
- link_path
|
||||
- options
|
||||
route_name: '@route/route_name'
|
||||
route_parameters: '@route/route_parameters'
|
||||
url: '@route/url'
|
||||
options: '@route/options'
|
||||
external: external
|
||||
weight: weight
|
||||
expanded: expanded
|
||||
enabled: enabled
|
||||
parent:
|
||||
plugin: menu_link_parent
|
||||
source:
|
||||
- plid
|
||||
- '@menu_name'
|
||||
- parent_link_path
|
||||
changed: updated
|
||||
destination:
|
||||
plugin: 'entity:menu_link_content'
|
||||
default_bundle: menu_link_content
|
||||
no_stub: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_menu
|
||||
optional: { }
|
||||
+109
@@ -0,0 +1,109 @@
|
||||
uuid: 63e5d50d-22d5-40a5-88f0-cbc813307c64
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_corpus
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (corpus)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: corpus
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_artiste:
|
||||
plugin: iterator
|
||||
source: field_artiste
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_compositeur:
|
||||
plugin: iterator
|
||||
source: field_compositeur
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_genre: field_genre
|
||||
field_ordre: field_ordre
|
||||
field_langue: field_langue
|
||||
field_article:
|
||||
plugin: iterator
|
||||
source: field_article
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node
|
||||
source: nid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: corpus
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
uuid: e07ade2a-75cb-4ffd-a070-d0b1205e24df
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_entree
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (entree)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: entree
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_entree: field_entree
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: entree
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
uuid: 96519d79-9201-44d4-b321-d0d011bb45d2
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_episode
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (episode)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: episode
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_related_sound:
|
||||
plugin: iterator
|
||||
source: field_related_sound
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node
|
||||
source: nid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: episode
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
uuid: 2defad48-393a-4262-9869-523fd44315d5
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_event
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (event)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: event
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_date:
|
||||
plugin: iterator
|
||||
source: field_date
|
||||
process:
|
||||
value:
|
||||
plugin: format_date
|
||||
from_format: 'Y-m-d\TH:i:s'
|
||||
to_format: 'Y-m-d\TH:i:s'
|
||||
source: value
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: event
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
uuid: 56aa279c-a52f-4c39-9ba6-3dcf4005beb2
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_home
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (home)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: home
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: home
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+57
@@ -0,0 +1,57 @@
|
||||
uuid: d1836be0-94fb-4853-b801-7be06964a238
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_page
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (page)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: page
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_visuel:
|
||||
plugin: d6_field_file
|
||||
source: field_visuel
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: page
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+103
@@ -0,0 +1,103 @@
|
||||
uuid: 95382fb2-194e-4757-a1a7-69841faebdd3
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_corpus
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (corpus)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: corpus
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_artiste:
|
||||
plugin: iterator
|
||||
source: field_artiste
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_compositeur:
|
||||
plugin: iterator
|
||||
source: field_compositeur
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_genre: field_genre
|
||||
field_ordre: field_ordre
|
||||
field_langue: field_langue
|
||||
field_article:
|
||||
plugin: iterator
|
||||
source: field_article
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node
|
||||
source: nid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: corpus
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_corpus
|
||||
optional:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
+46
@@ -0,0 +1,46 @@
|
||||
uuid: 985370e5-cb22-4312-9e1b-4e159857f420
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_entree
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (entree)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: entree
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_entree: field_entree
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: entree
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_entree
|
||||
optional: { }
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
uuid: e14cc576-ff51-447e-9f16-dfc2eeb87ac9
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_episode
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (episode)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: episode
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_related_sound:
|
||||
plugin: iterator
|
||||
source: field_related_sound
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node
|
||||
source: nid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: episode
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_episode
|
||||
optional: { }
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
uuid: f6c2d9bc-f977-423e-94a2-59cd24b84c85
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_event
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (event)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: event
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_date:
|
||||
plugin: iterator
|
||||
source: field_date
|
||||
process:
|
||||
value:
|
||||
plugin: format_date
|
||||
from_format: 'Y-m-d\TH:i:s'
|
||||
to_format: 'Y-m-d\TH:i:s'
|
||||
source: value
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: event
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_event
|
||||
optional: { }
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
uuid: 547bb71a-efbb-4776-9180-6a6d16493eca
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_home
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (home)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: home
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: home
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_home
|
||||
optional: { }
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
uuid: a68c2bc8-4fef-400f-9e1b-c05b3482c292
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_page
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (page)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: page
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_visuel:
|
||||
plugin: d6_field_file
|
||||
source: field_visuel
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: page
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_page
|
||||
optional: { }
|
||||
+93
@@ -0,0 +1,93 @@
|
||||
uuid: 8949f91e-bc67-49a2-a780-65a187f9fcf5
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_son
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (son)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: son
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_artiste:
|
||||
plugin: iterator
|
||||
source: field_artiste
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_compositeur:
|
||||
plugin: iterator
|
||||
source: field_compositeur
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_genre: field_genre
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: son
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_son
|
||||
optional:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
uuid: 4f7b6dae-3382-41d4-989d-59960bfab7d8
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_static
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (static)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: static
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: static
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_static
|
||||
optional: { }
|
||||
+48
@@ -0,0 +1,48 @@
|
||||
uuid: 8560dd6c-4a04-41f4-ad0f-bf4a89cd4933
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_visual_piece_sonore
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (visual_piece_sonore)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: visual_piece_sonore
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_visuel_piece_sonore:
|
||||
plugin: d6_field_file
|
||||
source: field_visuel_piece_sonore
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: visual_piece_sonore
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
optional: { }
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
uuid: d5a94edf-4603-4e13-98ce-a96b2b5ea875
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_revision_webform
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node revisions (webform)'
|
||||
source:
|
||||
plugin: d6_node_revision
|
||||
node_type: webform
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
default_bundle: webform
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_webform
|
||||
optional: { }
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
uuid: c82b74be-d196-4341-9b70-b8281c8b0e7d
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_setting_promote
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node type ''promote'' setting'
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
entity_type: node
|
||||
field_name: promote
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
bundle: type
|
||||
field_name: constants/field_name
|
||||
label:
|
||||
plugin: default_value
|
||||
default_value: 'Promoted to front page'
|
||||
default_value/0/value: options/promote
|
||||
destination:
|
||||
plugin: 'entity:base_field_override'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_type
|
||||
optional: { }
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
uuid: 26db62aa-4b07-41d9-bac3-4d4a5f35b1a2
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_setting_status
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node type ''status'' setting'
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
entity_type: node
|
||||
field_name: status
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
bundle: type
|
||||
field_name: constants/field_name
|
||||
label:
|
||||
plugin: default_value
|
||||
default_value: 'Publishing status'
|
||||
default_value/0/value: options/status
|
||||
destination:
|
||||
plugin: 'entity:base_field_override'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_type
|
||||
optional: { }
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
uuid: 13e28e7a-d057-4ff1-96ef-1acecbace522
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_setting_sticky
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node type ''sticky'' setting'
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
entity_type: node
|
||||
field_name: sticky
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
bundle: type
|
||||
field_name: constants/field_name
|
||||
label:
|
||||
plugin: default_value
|
||||
default_value: 'Sticky at the top of lists'
|
||||
default_value/0/value: options/sticky
|
||||
destination:
|
||||
plugin: 'entity:base_field_override'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_node_type
|
||||
optional: { }
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
uuid: f33a252c-04da-45d6-8838-406e575c9439
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- node_admin_theme
|
||||
source_module: node
|
||||
process:
|
||||
use_admin_theme: node_admin_theme
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: node.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+99
@@ -0,0 +1,99 @@
|
||||
uuid: 2cb6733c-5728-4750-886b-5384cd27e7d9
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_son
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (son)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: son
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_artiste:
|
||||
plugin: iterator
|
||||
source: field_artiste
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_compositeur:
|
||||
plugin: iterator
|
||||
source: field_compositeur
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_genre: field_genre
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: son
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
uuid: 7509af26-bd9b-44b0-b146-91c8c67e7290
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_static
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (static)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: static
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: static
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+116
@@ -0,0 +1,116 @@
|
||||
uuid: a28a1430-e17d-4945-b523-68716acdc7f0
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_corpus
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (corpus)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: corpus
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_artiste:
|
||||
plugin: iterator
|
||||
source: field_artiste
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_compositeur:
|
||||
plugin: iterator
|
||||
source: field_compositeur
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_genre: field_genre
|
||||
field_ordre: field_ordre
|
||||
field_langue: field_langue
|
||||
field_article:
|
||||
plugin: iterator
|
||||
source: field_article
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node
|
||||
source: nid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: corpus
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_corpus
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
+59
@@ -0,0 +1,59 @@
|
||||
uuid: 46b8d262-5848-456e-9e4a-d3745cf3980c
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_entree
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (entree)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: entree
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_entree: field_entree
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: entree
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_entree
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
uuid: 4d13d4d0-701a-4e17-b134-4a7f23f22239
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_episode
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (episode)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: episode
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_related_sound:
|
||||
plugin: iterator
|
||||
source: field_related_sound
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node
|
||||
source: nid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: episode
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_episode
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+67
@@ -0,0 +1,67 @@
|
||||
uuid: 4a714a95-551b-44ed-90da-8e137f4c7693
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_event
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (event)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: event
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_date:
|
||||
plugin: iterator
|
||||
source: field_date
|
||||
process:
|
||||
value:
|
||||
plugin: format_date
|
||||
from_format: 'Y-m-d\TH:i:s'
|
||||
to_format: 'Y-m-d\TH:i:s'
|
||||
source: value
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: event
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_event
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
uuid: fb2d0914-1fd3-460a-9974-73afb657ad76
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_home
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (home)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: home
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: home
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_home
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+64
@@ -0,0 +1,64 @@
|
||||
uuid: 7d11b145-2b39-4457-937f-3d3256270da9
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_page
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (page)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: page
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_visuel:
|
||||
plugin: d6_field_file
|
||||
source: field_visuel
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: page
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_page
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+106
@@ -0,0 +1,106 @@
|
||||
uuid: 630e47a9-7ebc-4a65-9460-faf990ff103a
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_son
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (son)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: son
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_mp3:
|
||||
plugin: d6_field_file
|
||||
source: field_mp3
|
||||
field_artiste:
|
||||
plugin: iterator
|
||||
source: field_artiste
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_compositeur:
|
||||
plugin: iterator
|
||||
source: field_compositeur
|
||||
process:
|
||||
value: value
|
||||
format:
|
||||
-
|
||||
plugin: static_map
|
||||
bypass: true
|
||||
source: format
|
||||
map:
|
||||
- null
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
-
|
||||
plugin: migration
|
||||
migration:
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
source: format
|
||||
field_genre: field_genre
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: son
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_son
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_d7_filter_format
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
uuid: 8bc3f476-0d48-4edf-af1f-fbf66d6d6a2c
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_static
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (static)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: static
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: static
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_static
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+61
@@ -0,0 +1,61 @@
|
||||
uuid: 485739fb-e8ab-48eb-a28b-97c9fc95c02b
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_visual_piece_sonore
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (visual_piece_sonore)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: visual_piece_sonore
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
field_visuel_piece_sonore:
|
||||
plugin: d6_field_file
|
||||
source: field_visuel_piece_sonore
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: visual_piece_sonore
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+58
@@ -0,0 +1,58 @@
|
||||
uuid: cd950e33-c106-43aa-a8fd-277cd0c93722
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_translation_webform
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node translations (webform)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
translations: true
|
||||
source_module: translation
|
||||
node_type: webform
|
||||
process:
|
||||
nid: tnid
|
||||
type: type
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
content_translation_source: source_langcode
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
translations: true
|
||||
destination_module: content_translation
|
||||
default_bundle: webform
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
- upgrade_language
|
||||
- upgrade_d6_node_webform
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+37
@@ -0,0 +1,37 @@
|
||||
uuid: f1ba5bdf-b93d-49a3-a07e-ed7c69d803c1
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_type
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Node type configuration'
|
||||
source:
|
||||
plugin: d6_node_type
|
||||
constants:
|
||||
preview: 1
|
||||
create_body: false
|
||||
process:
|
||||
type: type
|
||||
name: name
|
||||
module: module
|
||||
description: description
|
||||
help: help
|
||||
title_label: title_label
|
||||
preview_mode: constants/preview
|
||||
display_submitted: display_submitted
|
||||
new_revision: options/revision
|
||||
settings/node/options: options
|
||||
create_body: has_body
|
||||
create_body_label: body_label
|
||||
third_party_settings/menu_ui/available_menus: available_menus
|
||||
third_party_settings/menu_ui/parent: parent
|
||||
destination:
|
||||
plugin: 'entity:node_type'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+54
@@ -0,0 +1,54 @@
|
||||
uuid: 5bcb5628-ba0e-4ac3-85ad-81b68342c4b9
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_visual_piece_sonore
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (visual_piece_sonore)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: visual_piece_sonore
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
field_visuel_piece_sonore:
|
||||
plugin: d6_field_file
|
||||
source: field_visuel_piece_sonore
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: visual_piece_sonore
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
uuid: 166a3338-ae8b-4575-a6a5-545ca817dd24
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_node_webform
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Nodes (webform)'
|
||||
source:
|
||||
plugin: d6_node
|
||||
node_type: webform
|
||||
process:
|
||||
nid: tnid
|
||||
vid: vid
|
||||
langcode:
|
||||
plugin: default_value
|
||||
source: language
|
||||
default_value: und
|
||||
title: title
|
||||
uid: node_uid
|
||||
status: status
|
||||
created: created
|
||||
changed: changed
|
||||
promote: promote
|
||||
sticky: sticky
|
||||
body/format:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_filter_format
|
||||
source: format
|
||||
body/value: body
|
||||
body/summary: teaser
|
||||
revision_uid: revision_uid
|
||||
revision_log: log
|
||||
revision_timestamp: timestamp
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
default_bundle: webform
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
- upgrade_d6_node_type
|
||||
- upgrade_d6_node_settings
|
||||
- upgrade_d6_filter_format
|
||||
optional:
|
||||
- upgrade_d6_field_instance_widget_settings
|
||||
- upgrade_d6_field_formatter_settings
|
||||
- upgrade_d6_upload_field_instance
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
uuid: c2f0eacd-b4c3-48d2-9f5f-a3e569b3a494
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_search_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Search configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
constants:
|
||||
status: true
|
||||
variables:
|
||||
- minimum_word_size
|
||||
- overlap_cjk
|
||||
- search_cron_limit
|
||||
source_module: search
|
||||
process:
|
||||
index/minimum_word_size: minimum_word_size
|
||||
index/overlap_cjk: overlap_cjk
|
||||
index/cron_limit: search_cron_limit
|
||||
logging: constants/status
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: search.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
uuid: b34920ce-06a6-4310-982e-8af9f4041864
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_statistics_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Statistics configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- statistics_enable_access_log
|
||||
- statistics_flush_accesslog_timer
|
||||
- statistics_count_content_views
|
||||
process:
|
||||
access_log/enabled: statistics_enable_access_log
|
||||
access_log/max_lifetime: statistics_flush_accesslog_timer
|
||||
count_content_views: statistics_count_content_views
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: statistics.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
uuid: 8e226559-cb6c-4c5f-86b4-70ad38c090e0
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_syslog_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'System log configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- syslog_identity
|
||||
- syslog_facility
|
||||
source_module: syslog
|
||||
process:
|
||||
identity: syslog_identity
|
||||
facility: syslog_facility
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: syslog.settings
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+28
@@ -0,0 +1,28 @@
|
||||
uuid: d570ce06-63f2-4347-8f74-1350ad85576f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_cron
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Cron settings'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- cron_threshold_warning
|
||||
- cron_threshold_error
|
||||
- cron_last
|
||||
source_module: system
|
||||
process:
|
||||
threshold/requirements_warning: cron_threshold_warning
|
||||
threshold/requirements_error: cron_threshold_error
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.cron
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
uuid: fb940429-621e-4a7a-b77f-999c32afeb48
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_date
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'System date configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- configurable_timezones
|
||||
- date_first_day
|
||||
- date_default_timezone
|
||||
source_module: system
|
||||
process:
|
||||
timezone/user/configurable: configurable_timezones
|
||||
first_day: date_first_day
|
||||
timezone/default:
|
||||
plugin: timezone
|
||||
source: date_default_timezone
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.date
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
uuid: 00d7a259-0f6d-48fa-bce8-fe735981f513
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_file
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'File system configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- file_directory_temp
|
||||
- allow_insecure_uploads
|
||||
source_module: system
|
||||
process:
|
||||
path/temporary: file_directory_temp
|
||||
allow_insecure_uploads:
|
||||
plugin: static_map
|
||||
source: allow_insecure_uploads
|
||||
map:
|
||||
- false
|
||||
- true
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.file
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
uuid: cb116153-b37c-4fad-8569-417bb49e5b1e
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_image
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Image toolkit configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- image_toolkit
|
||||
process:
|
||||
toolkit: image_toolkit
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.image
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
uuid: 98c386d2-b57f-4e93-af38-ac0d66ea85c4
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_image_gd
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Image quality configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- image_jpeg_quality
|
||||
process:
|
||||
jpeg_quality: image_jpeg_quality
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.image.gd
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+32
@@ -0,0 +1,32 @@
|
||||
uuid: 1c13fbfb-60f8-4ff5-b15b-f5f887c146e1
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_logging
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'System logging'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- error_level
|
||||
process:
|
||||
error_level:
|
||||
plugin: static_map
|
||||
source: error_level
|
||||
default_value: all
|
||||
map:
|
||||
- hide
|
||||
- some
|
||||
- all
|
||||
- verbose
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.logging
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+24
@@ -0,0 +1,24 @@
|
||||
uuid: 95626a9c-4b7f-4ac4-b3af-5f5b744f0cb5
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_maintenance
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Maintenance page configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- site_offline_message
|
||||
process:
|
||||
message: site_offline_message
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.maintenance
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
uuid: 907bda49-fade-4dc8-8dc8-efc8808ac838
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_performance
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Performance configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- preprocess_css
|
||||
- preprocess_js
|
||||
- cache_lifetime
|
||||
- cache
|
||||
- page_compression
|
||||
source_module: system
|
||||
process:
|
||||
css/preprocess: preprocess_css
|
||||
js/preprocess: preprocess_js
|
||||
cache/page/max_age: cache_lifetime
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.performance
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+26
@@ -0,0 +1,26 @@
|
||||
uuid: f37af969-e49e-42ac-8026-2a7a628844be
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_rss
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'RSS configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- feed_default_items
|
||||
- feed_item_length
|
||||
process:
|
||||
items/limit: feed_default_items
|
||||
items/view_mode: feed_item_length
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.rss
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+52
@@ -0,0 +1,52 @@
|
||||
uuid: a2133080-9a60-4457-8175-092103ca9f41
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_system_site
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Site configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
constants:
|
||||
slash: /
|
||||
variables:
|
||||
- site_name
|
||||
- site_mail
|
||||
- site_slogan
|
||||
- site_frontpage
|
||||
- site_403
|
||||
- site_404
|
||||
- drupal_weight_select_max
|
||||
- admin_compact_mode
|
||||
process:
|
||||
name: site_name
|
||||
mail: site_mail
|
||||
slogan: site_slogan
|
||||
page/front:
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_frontpage
|
||||
page/403:
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_403
|
||||
page/404:
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- site_404
|
||||
weight_select_max: drupal_weight_select_max
|
||||
admin_compact_mode: admin_compact_mode
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: system.site
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+42
@@ -0,0 +1,42 @@
|
||||
uuid: 778b4e3f-689f-4a9e-b1ef-4ca9c77fc907
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_taxonomy_term
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Taxonomy terms'
|
||||
source:
|
||||
plugin: d6_taxonomy_term
|
||||
process:
|
||||
tid: tid
|
||||
vid:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_taxonomy_vocabulary
|
||||
source: vid
|
||||
name: name
|
||||
description: description
|
||||
weight: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_taxonomy_term
|
||||
parent:
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed: timestamp
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_taxonomy_vocabulary
|
||||
optional: { }
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
uuid: f294e7c3-287b-4e33-b199-1656305088d7
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_taxonomy_term_translation
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Taxonomy terms'
|
||||
source:
|
||||
plugin: d6_taxonomy_term
|
||||
translations: true
|
||||
process:
|
||||
tid: tid
|
||||
langcode: language
|
||||
vid:
|
||||
plugin: migration
|
||||
migration: upgrade_d6_taxonomy_vocabulary
|
||||
source: vid
|
||||
name: name
|
||||
description: description
|
||||
weight: weight
|
||||
parent_id:
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: process
|
||||
source: parent
|
||||
-
|
||||
plugin: migration
|
||||
migration: upgrade_d6_taxonomy_term
|
||||
parent:
|
||||
plugin: default_value
|
||||
default_value: 0
|
||||
source: '@parent_id'
|
||||
changed: timestamp
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_term'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_taxonomy_vocabulary
|
||||
- upgrade_d6_taxonomy_term
|
||||
optional:
|
||||
- upgrade_d6_taxonomy_vocabulary
|
||||
- upgrade_d6_taxonomy_term
|
||||
+38
@@ -0,0 +1,38 @@
|
||||
uuid: 0662b84e-936c-43c5-9c02-911a3805bce7
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_taxonomy_vocabulary
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Taxonomy vocabularies'
|
||||
source:
|
||||
plugin: d6_taxonomy_vocabulary
|
||||
process:
|
||||
vid:
|
||||
-
|
||||
plugin: machine_name
|
||||
source: name
|
||||
-
|
||||
plugin: make_unique_entity_field
|
||||
entity_type: taxonomy_vocabulary
|
||||
field: vid
|
||||
length: 32
|
||||
migrated: true
|
||||
-
|
||||
plugin: forum_vocabulary
|
||||
machine_name: forums
|
||||
label: name
|
||||
name: name
|
||||
description: description
|
||||
hierarchy: hierarchy
|
||||
weight: weight
|
||||
destination:
|
||||
plugin: 'entity:taxonomy_vocabulary'
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
uuid: 73d1c405-5be9-45f8-b2ac-c60e8e17a63e
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_1
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationships'
|
||||
source:
|
||||
plugin: d6_term_node
|
||||
vid: '1'
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: nid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_page_type: tid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
0: upgrade_d6_vocabulary_entity_display
|
||||
1: upgrade_d6_vocabulary_entity_form_display
|
||||
45: upgrade_d6_node_corpus
|
||||
46: upgrade_d6_node_entree
|
||||
47: upgrade_d6_node_episode
|
||||
48: upgrade_d6_node_event
|
||||
49: upgrade_d6_node_home
|
||||
50: upgrade_d6_node_page
|
||||
51: upgrade_d6_node_son
|
||||
52: upgrade_d6_node_static
|
||||
53: upgrade_d6_node_visual_piece_sonore
|
||||
54: upgrade_d6_node_webform
|
||||
optional: { }
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
uuid: 53653d36-a2d6-477f-b8fb-598bcb82b8fa
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_2
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationships'
|
||||
source:
|
||||
plugin: d6_term_node
|
||||
vid: '2'
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: nid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_entrees: tid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
0: upgrade_d6_vocabulary_entity_display
|
||||
1: upgrade_d6_vocabulary_entity_form_display
|
||||
45: upgrade_d6_node_corpus
|
||||
46: upgrade_d6_node_entree
|
||||
47: upgrade_d6_node_episode
|
||||
48: upgrade_d6_node_event
|
||||
49: upgrade_d6_node_home
|
||||
50: upgrade_d6_node_page
|
||||
51: upgrade_d6_node_son
|
||||
52: upgrade_d6_node_static
|
||||
53: upgrade_d6_node_visual_piece_sonore
|
||||
54: upgrade_d6_node_webform
|
||||
optional: { }
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
uuid: 57ea0d00-cb84-4d96-8e37-0713ee6c66cb
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_3
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationships'
|
||||
source:
|
||||
plugin: d6_term_node
|
||||
vid: '3'
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: nid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_genre: tid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
0: upgrade_d6_vocabulary_entity_display
|
||||
1: upgrade_d6_vocabulary_entity_form_display
|
||||
45: upgrade_d6_node_corpus
|
||||
46: upgrade_d6_node_entree
|
||||
47: upgrade_d6_node_episode
|
||||
48: upgrade_d6_node_event
|
||||
49: upgrade_d6_node_home
|
||||
50: upgrade_d6_node_page
|
||||
51: upgrade_d6_node_son
|
||||
52: upgrade_d6_node_static
|
||||
53: upgrade_d6_node_visual_piece_sonore
|
||||
54: upgrade_d6_node_webform
|
||||
optional: { }
|
||||
+63
@@ -0,0 +1,63 @@
|
||||
uuid: 486d3f4c-3c60-4642-add0-ffb645d052fa
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_4
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationships'
|
||||
source:
|
||||
plugin: d6_term_node
|
||||
vid: '4'
|
||||
process:
|
||||
nid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: nid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_langues: tid
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
0: upgrade_d6_vocabulary_entity_display
|
||||
1: upgrade_d6_vocabulary_entity_form_display
|
||||
45: upgrade_d6_node_corpus
|
||||
46: upgrade_d6_node_entree
|
||||
47: upgrade_d6_node_episode
|
||||
48: upgrade_d6_node_event
|
||||
49: upgrade_d6_node_home
|
||||
50: upgrade_d6_node_page
|
||||
51: upgrade_d6_node_son
|
||||
52: upgrade_d6_node_static
|
||||
53: upgrade_d6_node_visual_piece_sonore
|
||||
54: upgrade_d6_node_webform
|
||||
optional: { }
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
uuid: e33e3f06-979e-4e7d-aa4f-9d47a757c65a
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_revision_1
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationship revisions'
|
||||
source:
|
||||
plugin: d6_term_node_revision
|
||||
vid: '1'
|
||||
process:
|
||||
vid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: vid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_page_type: tid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
163: upgrade_d6_term_node_1
|
||||
164: upgrade_d6_term_node_2
|
||||
165: upgrade_d6_term_node_3
|
||||
166: upgrade_d6_term_node_4
|
||||
93: upgrade_d6_node_revision_corpus
|
||||
94: upgrade_d6_node_revision_entree
|
||||
95: upgrade_d6_node_revision_episode
|
||||
96: upgrade_d6_node_revision_event
|
||||
97: upgrade_d6_node_revision_home
|
||||
98: upgrade_d6_node_revision_page
|
||||
99: upgrade_d6_node_revision_son
|
||||
100: upgrade_d6_node_revision_static
|
||||
101: upgrade_d6_node_revision_visual_piece_sonore
|
||||
102: upgrade_d6_node_revision_webform
|
||||
optional: { }
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
uuid: 701bc3e0-c6a2-48cc-8e52-6a9ef6d9dd4c
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_revision_2
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationship revisions'
|
||||
source:
|
||||
plugin: d6_term_node_revision
|
||||
vid: '2'
|
||||
process:
|
||||
vid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: vid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_entrees: tid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
163: upgrade_d6_term_node_1
|
||||
164: upgrade_d6_term_node_2
|
||||
165: upgrade_d6_term_node_3
|
||||
166: upgrade_d6_term_node_4
|
||||
93: upgrade_d6_node_revision_corpus
|
||||
94: upgrade_d6_node_revision_entree
|
||||
95: upgrade_d6_node_revision_episode
|
||||
96: upgrade_d6_node_revision_event
|
||||
97: upgrade_d6_node_revision_home
|
||||
98: upgrade_d6_node_revision_page
|
||||
99: upgrade_d6_node_revision_son
|
||||
100: upgrade_d6_node_revision_static
|
||||
101: upgrade_d6_node_revision_visual_piece_sonore
|
||||
102: upgrade_d6_node_revision_webform
|
||||
optional: { }
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
uuid: 878d14bb-b19f-4a2e-b1da-6e7cde599391
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_revision_3
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationship revisions'
|
||||
source:
|
||||
plugin: d6_term_node_revision
|
||||
vid: '3'
|
||||
process:
|
||||
vid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: vid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_genre: tid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
163: upgrade_d6_term_node_1
|
||||
164: upgrade_d6_term_node_2
|
||||
165: upgrade_d6_term_node_3
|
||||
166: upgrade_d6_term_node_4
|
||||
93: upgrade_d6_node_revision_corpus
|
||||
94: upgrade_d6_node_revision_entree
|
||||
95: upgrade_d6_node_revision_episode
|
||||
96: upgrade_d6_node_revision_event
|
||||
97: upgrade_d6_node_revision_home
|
||||
98: upgrade_d6_node_revision_page
|
||||
99: upgrade_d6_node_revision_son
|
||||
100: upgrade_d6_node_revision_static
|
||||
101: upgrade_d6_node_revision_visual_piece_sonore
|
||||
102: upgrade_d6_node_revision_webform
|
||||
optional: { }
|
||||
+65
@@ -0,0 +1,65 @@
|
||||
uuid: c366e96b-cc48-4ccf-9248-6c54a47f5f2b
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_term_node_revision_4
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Term/node relationship revisions'
|
||||
source:
|
||||
plugin: d6_term_node_revision
|
||||
vid: '4'
|
||||
process:
|
||||
vid:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration:
|
||||
- upgrade_d6_node_corpus
|
||||
- upgrade_d6_node_entree
|
||||
- upgrade_d6_node_episode
|
||||
- upgrade_d6_node_event
|
||||
- upgrade_d6_node_home
|
||||
- upgrade_d6_node_page
|
||||
- upgrade_d6_node_son
|
||||
- upgrade_d6_node_static
|
||||
- upgrade_d6_node_visual_piece_sonore
|
||||
- upgrade_d6_node_webform
|
||||
- upgrade_d6_node_translation_corpus
|
||||
- upgrade_d6_node_translation_entree
|
||||
- upgrade_d6_node_translation_episode
|
||||
- upgrade_d6_node_translation_event
|
||||
- upgrade_d6_node_translation_home
|
||||
- upgrade_d6_node_translation_page
|
||||
- upgrade_d6_node_translation_son
|
||||
- upgrade_d6_node_translation_static
|
||||
- upgrade_d6_node_translation_visual_piece_sonore
|
||||
- upgrade_d6_node_translation_webform
|
||||
source: vid
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
type: type
|
||||
field_langues: tid
|
||||
destination:
|
||||
plugin: 'entity_revision:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
163: upgrade_d6_term_node_1
|
||||
164: upgrade_d6_term_node_2
|
||||
165: upgrade_d6_term_node_3
|
||||
166: upgrade_d6_term_node_4
|
||||
93: upgrade_d6_node_revision_corpus
|
||||
94: upgrade_d6_node_revision_entree
|
||||
95: upgrade_d6_node_revision_episode
|
||||
96: upgrade_d6_node_revision_event
|
||||
97: upgrade_d6_node_revision_home
|
||||
98: upgrade_d6_node_revision_page
|
||||
99: upgrade_d6_node_revision_son
|
||||
100: upgrade_d6_node_revision_static
|
||||
101: upgrade_d6_node_revision_visual_piece_sonore
|
||||
102: upgrade_d6_node_revision_webform
|
||||
optional: { }
|
||||
+45
@@ -0,0 +1,45 @@
|
||||
uuid: cc2f9bdb-2a0f-416c-bf2e-4ad7e08314b7
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_upload
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'File uploads'
|
||||
source:
|
||||
plugin: d6_upload
|
||||
process:
|
||||
nid: nid
|
||||
vid: vid
|
||||
type: type
|
||||
upload:
|
||||
plugin: sub_process
|
||||
source: upload
|
||||
process:
|
||||
target_id:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_file
|
||||
source: fid
|
||||
display: list
|
||||
description: description
|
||||
destination:
|
||||
plugin: 'entity:node'
|
||||
migration_dependencies:
|
||||
required:
|
||||
0: upgrade_d6_file
|
||||
45: upgrade_d6_node_corpus
|
||||
46: upgrade_d6_node_entree
|
||||
47: upgrade_d6_node_episode
|
||||
48: upgrade_d6_node_event
|
||||
49: upgrade_d6_node_home
|
||||
50: upgrade_d6_node_page
|
||||
51: upgrade_d6_node_son
|
||||
52: upgrade_d6_node_static
|
||||
53: upgrade_d6_node_visual_piece_sonore
|
||||
54: upgrade_d6_node_webform
|
||||
55: upgrade_d6_upload_field_instance
|
||||
optional: { }
|
||||
+43
@@ -0,0 +1,43 @@
|
||||
uuid: a6d8bb82-acd2-4cb9-90d2-930930f131b3
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_upload_entity_display
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Upload display configuration'
|
||||
source:
|
||||
plugin: d6_upload_instance
|
||||
constants:
|
||||
entity_type: node
|
||||
view_mode: default
|
||||
name: upload
|
||||
type: file_default
|
||||
options:
|
||||
label: hidden
|
||||
settings: { }
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_type
|
||||
source: node_type
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
view_mode: constants/view_mode
|
||||
field_name: constants/name
|
||||
type: constants/type
|
||||
options: constants/options
|
||||
options/type: '@type'
|
||||
destination:
|
||||
plugin: component_entity_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_upload_field_instance
|
||||
optional: { }
|
||||
+44
@@ -0,0 +1,44 @@
|
||||
uuid: e62a29cb-2d2c-4bc6-8582-b75d73bb8abb
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_upload_entity_form_display
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Upload form display configuration'
|
||||
source:
|
||||
plugin: d6_upload_instance
|
||||
constants:
|
||||
empty: { }
|
||||
entity_type: node
|
||||
form_mode: default
|
||||
name: upload
|
||||
type: file_generic
|
||||
options:
|
||||
settings:
|
||||
progress_indicator: throbber
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_type
|
||||
source: node_type
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
field_name: constants/name
|
||||
form_mode: constants/form_mode
|
||||
type: constants/type
|
||||
options: constants/options
|
||||
options/type: '@type'
|
||||
destination:
|
||||
plugin: component_entity_form_display
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_upload_field_instance
|
||||
optional: { }
|
||||
+35
@@ -0,0 +1,35 @@
|
||||
uuid: 9faf6c7a-1ad9-414b-b445-c7194a603d93
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_upload_field
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Upload field configuration'
|
||||
source:
|
||||
plugin: md_empty
|
||||
source_module: upload
|
||||
constants:
|
||||
entity_type: node
|
||||
type: file
|
||||
name: upload
|
||||
cardinality: -1
|
||||
display_field: true
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
field_name: constants/name
|
||||
type: constants/type
|
||||
cardinality: constants/cardinality
|
||||
settings/display_field: constants/display_field
|
||||
destination:
|
||||
plugin: 'entity:field_storage_config'
|
||||
dependencies:
|
||||
module:
|
||||
- file
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+40
@@ -0,0 +1,40 @@
|
||||
uuid: 162e50b2-282b-4e0d-8833-55c5b9fc9c15
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_upload_field_instance
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'Upload field instance configuration'
|
||||
source:
|
||||
plugin: d6_upload_instance
|
||||
constants:
|
||||
entity_type: node
|
||||
name: upload
|
||||
settings:
|
||||
description_field: 1
|
||||
process:
|
||||
entity_type: constants/entity_type
|
||||
bundle:
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_type
|
||||
source: node_type
|
||||
-
|
||||
plugin: skip_on_empty
|
||||
method: row
|
||||
field_name: constants/name
|
||||
settings: constants/settings
|
||||
settings/file_extensions: file_extensions
|
||||
settings/max_filesize: max_filesize
|
||||
destination:
|
||||
plugin: 'entity:field_config'
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_upload_field
|
||||
- upgrade_d6_node_type
|
||||
optional: { }
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
uuid: cfb7bb11-ecdf-4e72-9182-d5b9700b5886
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_url_alias
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'URL aliases'
|
||||
source:
|
||||
plugin: d6_url_alias
|
||||
constants:
|
||||
slash: /
|
||||
process:
|
||||
source:
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- src
|
||||
alias:
|
||||
plugin: concat
|
||||
source:
|
||||
- constants/slash
|
||||
- dst
|
||||
langcode:
|
||||
plugin: d6_url_alias_language
|
||||
source: language
|
||||
node_translation:
|
||||
-
|
||||
plugin: explode
|
||||
source: src
|
||||
delimiter: /
|
||||
-
|
||||
plugin: extract
|
||||
index:
|
||||
- 1
|
||||
-
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_node_translation
|
||||
destination:
|
||||
plugin: url_alias
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
+60
@@ -0,0 +1,60 @@
|
||||
uuid: 645387ce-70da-45b1-ac86-5332549d65ef
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_user
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'User accounts'
|
||||
source:
|
||||
plugin: d6_user
|
||||
process:
|
||||
uid: uid
|
||||
name: name
|
||||
pass: pass
|
||||
mail: mail
|
||||
created: created
|
||||
access: access
|
||||
login: login
|
||||
status: status
|
||||
timezone:
|
||||
plugin: user_update_7002
|
||||
source: timezone
|
||||
langcode:
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: false
|
||||
preferred_langcode:
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: true
|
||||
preferred_admin_langcode:
|
||||
plugin: user_langcode
|
||||
source: language
|
||||
fallback_to_site_default: true
|
||||
init: init
|
||||
roles:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_user_role
|
||||
source: roles
|
||||
user_picture:
|
||||
plugin: migration_lookup
|
||||
migration: upgrade_d6_user_picture_file
|
||||
source: uid
|
||||
no_stub: true
|
||||
destination:
|
||||
plugin: 'entity:user'
|
||||
md5_passwords: true
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user_role
|
||||
optional:
|
||||
- upgrade_language
|
||||
- upgrade_default_language
|
||||
- upgrade_d6_user_picture_file
|
||||
- upgrade_user_picture_entity_display
|
||||
- upgrade_user_picture_entity_form_display
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
uuid: 32a4a8de-faf0-4857-9b28-94e146d7a10c
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_user_contact_settings
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'User contact settings'
|
||||
source:
|
||||
plugin: d6_user
|
||||
constants:
|
||||
key: contact
|
||||
module: contact
|
||||
process:
|
||||
uid: uid
|
||||
key: constants/key
|
||||
module: constants/module
|
||||
settings:
|
||||
plugin: skip_row_if_not_set
|
||||
index: contact
|
||||
source: data
|
||||
destination:
|
||||
plugin: user_data
|
||||
migration_dependencies:
|
||||
required:
|
||||
- upgrade_d6_user
|
||||
optional: { }
|
||||
+79
@@ -0,0 +1,79 @@
|
||||
uuid: cac75151-2c53-440f-a0cf-82aa7eeb287f
|
||||
langcode: fr
|
||||
status: true
|
||||
dependencies: { }
|
||||
id: upgrade_d6_user_mail
|
||||
class: Drupal\migrate\Plugin\Migration
|
||||
field_plugin_method: null
|
||||
cck_plugin_method: null
|
||||
migration_tags:
|
||||
- 'Drupal 6'
|
||||
migration_group: migrate_drupal_6
|
||||
label: 'User mail configuration'
|
||||
source:
|
||||
plugin: variable
|
||||
variables:
|
||||
- user_mail_status_activated_subject
|
||||
- user_mail_status_activated_body
|
||||
- user_mail_password_reset_subject
|
||||
- user_mail_password_reset_body
|
||||
- user_mail_status_deleted_subject
|
||||
- user_mail_status_deleted_body
|
||||
- user_mail_register_admin_created_subject
|
||||
- user_mail_register_admin_created_body
|
||||
- user_mail_register_no_approval_required_subject
|
||||
- user_mail_register_no_approval_required_body
|
||||
- user_mail_register_pending_approval_subject
|
||||
- user_mail_register_pending_approval_body
|
||||
- user_mail_status_blocked_subject
|
||||
- user_mail_status_blocked_body
|
||||
source_module: user
|
||||
process:
|
||||
status_activated/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_status_activated_subject
|
||||
status_activated/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_status_activated_body
|
||||
password_reset/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_password_reset_subject
|
||||
password_reset/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_password_reset_body
|
||||
cancel_confirm/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_status_deleted_subject
|
||||
cancel_confirm/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_status_deleted_body
|
||||
register_admin_created/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_register_admin_created_subject
|
||||
register_admin_created/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_register_admin_created_body
|
||||
register_no_approval_required/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_register_no_approval_required_subject
|
||||
register_no_approval_required/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_register_no_approval_required_body
|
||||
register_pending_approval/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_register_pending_approval_subject
|
||||
register_pending_approval/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_register_pending_approval_body
|
||||
status_blocked/subject:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_status_blocked_subject
|
||||
status_blocked/body:
|
||||
plugin: convert_tokens
|
||||
source: user_mail_status_blocked_body
|
||||
destination:
|
||||
plugin: config
|
||||
config_name: user.mail
|
||||
migration_dependencies:
|
||||
required: { }
|
||||
optional: { }
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user