field_attachments, field_visuel, admin node view

This commit is contained in:
2018-12-16 21:29:58 +01:00
parent b2dbacb786
commit 86792830fb
18 changed files with 167 additions and 38 deletions

View File

@@ -110,7 +110,7 @@ class D7NodeBreve extends FieldableEntity {
$vid = $row->getSourceProperty('vid');
$type = $row->getSourceProperty('type');
$title = $row->getSourceProperty('title');
drush_print('-- '.$nid."\t".$title);
// drush_print('-- '.$nid."\t".$title);
// If this entity was translated using Entity Translation, we need to get
// its source language to get the field values in the right language.

View File

@@ -110,7 +110,7 @@ class D7NodeMateriau extends FieldableEntity {
$vid = $row->getSourceProperty('vid');
$type = $row->getSourceProperty('type');
$title = $row->getSourceProperty('title');
drush_print('-- '.$nid."\t".$title);
// drush_print('-- '.$nid."\t".$title);
// If this entity was translated using Entity Translation, we need to get
// its source language to get the field values in the right language.

View File

@@ -108,7 +108,7 @@ class D7TaxonomyTermCompany extends FieldableEntity implements ContainerFactoryP
public function prepareRow(Row $row) {
$language = $row->getSourceProperty('language');
$tid = $row->getSourceProperty('tid');
drush_print('-- '.$language."\t".$tid."\t".$row->getSourceProperty('name'));
// drush_print('-- '.$language."\t".$tid."\t".$row->getSourceProperty('name'));
// vocabulary machine name
$machine_name = $row->getSourceProperty('machine_name');