X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fmodules%2Fnode%2Fsrc%2FPlugin%2Fmigrate%2Fdestination%2FEntityNodeType.php;fp=web%2Fcore%2Fmodules%2Fnode%2Fsrc%2FPlugin%2Fmigrate%2Fdestination%2FEntityNodeType.php;h=c26f3b9f1c31192bf7ec9f69367200ce0f3744b1;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php b/web/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php new file mode 100644 index 000000000..c26f3b9f1 --- /dev/null +++ b/web/core/modules/node/src/Plugin/migrate/destination/EntityNodeType.php @@ -0,0 +1,27 @@ +getDestinationProperty('create_body')) { + $node_type = $this->storage->load(reset($entity_ids)); + node_add_body_field($node_type, $row->getDestinationProperty('create_body_label')); + } + return $entity_ids; + } + +}