You are here

protected property FieldInstanceTest::$expectedResults in Zircon Profile 8.0

Same name in this branch
  1. 8.0 core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstanceTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d6\FieldInstanceTest::expectedResults
  2. 8.0 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/FieldInstanceTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldInstanceTest::expectedResults
Same name and namespace in other branches
  1. 8 core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstanceTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d6\FieldInstanceTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstanceTest.php, line 34
Contains \Drupal\Tests\field\Unit\Plugin\migrate\source\d6\FieldInstanceTest.

Class

FieldInstanceTest
Tests D6 field instance source plugin.

Namespace

Drupal\Tests\field\Unit\Plugin\migrate\source\d6

Code

protected $expectedResults = [
  [
    'field_name' => 'field_body',
    'type_name' => 'page',
    'weight' => 1,
    'label' => 'body',
    'widget_type' => 'text_textarea',
    'widget_settings' => '',
    'display_settings' => '',
    'description' => '',
    'widget_module' => 'text',
    'widget_active' => 1,
    'required' => 1,
    'active' => 1,
    'global_settings' => [],
  ],
];