protected property FieldInstancePerViewModeTest::$expectedResults in Zircon Profile 8
Same name in this branch
- 8 core/modules/field/tests/src/Unit/Plugin/migrate/source/d6/FieldInstancePerViewModeTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d6\FieldInstancePerViewModeTest::expectedResults
- 8 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/FieldInstancePerViewModeTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldInstancePerViewModeTest::expectedResults
Same name and namespace in other branches
- 8.0 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/FieldInstancePerViewModeTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldInstancePerViewModeTest::expectedResults
Expected results after the source parsing.
Type: array
Overrides MigrateSqlSourceTestCase::$expectedResults
File
- core/
modules/ field/ tests/ src/ Unit/ Plugin/ migrate/ source/ d7/ FieldInstancePerViewModeTest.php, line 28 - Contains \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldInstancePerViewModeTest.
Class
- FieldInstancePerViewModeTest
- Tests D7 field instance per view mode source plugin.
Namespace
Drupal\Tests\field\Unit\Plugin\migrate\source\d7Code
protected $expectedResults = array(
array(
'entity_type' => 'node',
'bundle' => 'page',
'field_name' => 'body',
'label' => 'hidden',
'type' => 'text_default',
'settings' => array(),
'module' => 'text',
'weight' => 0,
'view_mode' => 'default',
),
array(
'entity_type' => 'node',
'bundle' => 'page',
'field_name' => 'body',
'label' => 'hidden',
'type' => 'text_summary_or_trimmed',
'settings' => array(
'trim_length' => 600,
),
'module' => 'text',
'weight' => 0,
'view_mode' => 'teaser',
),
);