You are here

protected property ViewModeTest::$expectedResults in Zircon Profile 8

Same name in this branch
  1. 8 core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/ViewModeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\ViewModeTest::expectedResults
  2. 8 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
  1. 8.0 core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/ViewModeTest.php \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\ViewModeTest::expectedResults

Expected results after the source parsing.

Type: array

Overrides MigrateSqlSourceTestCase::$expectedResults

File

core/modules/node/tests/src/Unit/Plugin/migrate/source/d6/ViewModeTest.php, line 32
Contains \Drupal\Tests\node\Unit\Plugin\migrate\source\d6\ViewModeTest.

Class

ViewModeTest
Tests D6 view mode source plugin.

Namespace

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

Code

protected $expectedResults = array(
  array(
    'entity_type' => 'node',
    'view_mode' => '4',
  ),
  array(
    'entity_type' => 'node',
    'view_mode' => 'teaser',
  ),
  array(
    'entity_type' => 'node',
    'view_mode' => 'full',
  ),
);