You are here

constant FieldInstanceTest::PLUGIN_CLASS 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::PLUGIN_CLASS
  2. 8.0 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/FieldInstanceTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldInstanceTest::PLUGIN_CLASS
Same name and namespace in other branches
  1. 8 core/modules/field/tests/src/Unit/Plugin/migrate/source/d7/FieldInstanceTest.php \Drupal\Tests\field\Unit\Plugin\migrate\source\d7\FieldInstanceTest::PLUGIN_CLASS

The plugin class under test.

The plugin system is not working during unit testing so the source plugin class needs to be manually specified.

Overrides MigrateSqlSourceTestCase::PLUGIN_CLASS

File

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

Class

FieldInstanceTest
Tests D7 field instance source plugin.

Namespace

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

Code

const PLUGIN_CLASS = 'Drupal\\field\\Plugin\\migrate\\source\\d7\\FieldInstance';