You are here

constant ShortcutTest::PLUGIN_CLASS in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/shortcut/tests/src/Unit/Plugin/migrate/source/d7/ShortcutTest.php \Drupal\Tests\shortcut\Unit\Plugin\migrate\source\d7\ShortcutTest::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/shortcut/tests/src/Unit/Plugin/migrate/source/d7/ShortcutTest.php, line 19
Contains \Drupal\Tests\shortcut\Unit\Plugin\migrate\source\d7\ShortcutTest.

Class

ShortcutTest
Tests D7 Shortcut source plugin.

Namespace

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

Code

const PLUGIN_CLASS = 'Drupal\\shortcut\\Plugin\\migrate\\source\\d7\\Shortcut';