You are here

public function MigrateFieldPluginManagerTest::nonExistentPluginExceptionsData in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/MigrateFieldPluginManagerTest.php \Drupal\Tests\migrate_drupal\Kernel\MigrateFieldPluginManagerTest::nonExistentPluginExceptionsData()
  2. 9 core/modules/migrate_drupal/tests/src/Kernel/MigrateFieldPluginManagerTest.php \Drupal\Tests\migrate_drupal\Kernel\MigrateFieldPluginManagerTest::nonExistentPluginExceptionsData()

Provides data for testNonExistentPluginExceptions.

Return value

array The data.

File

core/modules/migrate_drupal/tests/src/Kernel/MigrateFieldPluginManagerTest.php, line 86

Class

MigrateFieldPluginManagerTest
Tests the field plugin manager.

Namespace

Drupal\Tests\migrate_drupal\Kernel

Code

public function nonExistentPluginExceptionsData() {
  return [
    'D7 Filefield' => [
      'core' => 7,
      'field_type' => 'filefield',
    ],
    'D6 linkfield' => [
      'core' => 6,
      'field_type' => 'link_field',
    ],
    'D7 link' => [
      'core' => 7,
      'field_type' => 'link',
    ],
    'D7 no core version' => [
      'core' => 7,
      'field_type' => 'd6_no_core_version_specified',
    ],
  ];
}