removed all CT breve ref in config files
This commit is contained in:
		@@ -99,7 +99,7 @@ process:
 | 
			
		||||
    -
 | 
			
		||||
      plugin: skip_on_empty
 | 
			
		||||
      method: process
 | 
			
		||||
      source: linked_breves
 | 
			
		||||
      source: linked_articles
 | 
			
		||||
    -
 | 
			
		||||
      plugin: migration_lookup
 | 
			
		||||
      migration: d7_node_article
 | 
			
		||||
 
 | 
			
		||||
@@ -140,13 +140,13 @@ class D7NodeMateriau extends FieldableEntity {
 | 
			
		||||
    $row->setSourceProperty('linked_materials', $linked_materials);
 | 
			
		||||
 | 
			
		||||
    //linked breves
 | 
			
		||||
    $linked_breves = [];
 | 
			
		||||
    $linked_articles = [];
 | 
			
		||||
    if(!empty($row->getSourceProperty('field_breve_ref'))){
 | 
			
		||||
      foreach ($row->getSourceProperty('field_breve_ref') as $key => $value) {
 | 
			
		||||
        $linked_breves[] = $value['target_id'];
 | 
			
		||||
        $linked_articles[] = $value['target_id'];
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    $row->setSourceProperty('linked_breves', $linked_breves);
 | 
			
		||||
    $row->setSourceProperty('linked_articles', $linked_articles);
 | 
			
		||||
 | 
			
		||||
    // print_r($row->getSourceProperty('field_identifiant'));
 | 
			
		||||
    // print_r($row->getSourceProperty('field_reference_materio'));
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user