'test1' => [
'#markup' => 'Test1',
],
+ 'test2' => [
+ '#markup' => 'Test2',
+ ],
'non_configurable_field' => [
'#markup' => 'Non-configurable',
],
'test1' => [
'region' => 'right',
],
+ 'test2' => [
+ 'region' => 'unknown_region',
+ ],
'non_configurable_field' => [
'region' => 'left',
],
]);
$expected = [
+ 'test2' => [
+ '#markup' => 'Test2',
+ ],
'non_configurable_field' => [
'#markup' => 'Non-configurable',
],
'#markup' => 'Test2',
'#group' => 'existing_group',
],
+ 'test3' => [
+ '#markup' => 'Test3',
+ ],
'field_layout' => [
'#markup' => 'Field created through the UI happens to be named "Layout"',
],
'test2' => [
'region' => 'left',
],
+ 'test3' => [
+ 'region' => 'unknown_region',
+ ],
'field_layout' => [
'region' => 'right',
],
'#markup' => 'Test2',
'#group' => 'existing_group',
],
+ 'test3' => [
+ '#markup' => 'Test3',
+ ],
'field_layout' => [
'#markup' => 'Field created through the UI happens to be named "Layout"',
'#group' => 'right',