Commit 052090f4 authored by alexpott's avatar alexpott
Browse files

Issue #2281481 by ultimike, cYu, TommyK: Fixed D6 Body field label -> D8 field name not migrated.

parent 227d641a
......@@ -16,5 +16,6 @@ process:
submitted: submitted
options: options
create_body: has_body
create_body_label: body_label
destination:
plugin: entity:node_type
......@@ -42,7 +42,7 @@ public function load() {
'has_title' => 1,
'title_label' => 'Title',
'has_body' => 1,
'body_label' => 'Body',
'body_label' => 'This is the body field label',
'min_word_count' => 0,
'custom' => 1,
'modified' => 1,
......
......@@ -72,7 +72,7 @@ public function testNodeType() {
// Test we have a body field.
$instance = FieldInstanceConfig::loadByName('node', 'test_page', 'body');
$this->assertEqual($instance->getLabel(), 'Body', 'Body field was found.');
$this->assertEqual($instance->getLabel(), 'This is the body field label', 'Body field was found.');
// Test the test_story content type.
$node_type_story = entity_load('node_type', 'test_story');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment