protected property ViewModeTest::$expectedResults in Zircon Profile 8.0
Same name in this branch
- 8.0 core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/ViewModeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\ViewModeTest::expectedResults
- 8.0 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/ViewModeTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\ViewModeTest::expectedResults
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/ViewModeTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\ViewModeTest::expectedResults
Expected results after the source parsing.
Type: array
Overrides MigrateSqlSourceTestCase::$expectedResults
File
- core/
modules/ field/ tests/ src/ Unit/ Plugin/ migrate/ source/ d7/ ViewModeTest.php, line 28 - Contains \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\ViewModeTest.
Class
- ViewModeTest
- Tests D7 view mode source plugin.
Namespace
Drupal\Tests\field\Unit\Plugin\migrate\source\d7Code
protected $expectedResults = array(
array(
'entity_type' => 'node',
'view_mode' => 'default',
),
array(
'entity_type' => 'node',
'view_mode' => 'teaser',
),
array(
'entity_type' => 'user',
'view_mode' => 'default',
),
array(
'entity_type' => 'comment',
'view_mode' => 'default',
),
);