function MigrateFieldPluginManagerTest::nonExistentPluginExceptionsData

Same name in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/MigrateFieldPluginManagerTest.php \Drupal\Tests\migrate_drupal\Kernel\MigrateFieldPluginManagerTest::nonExistentPluginExceptionsData()
  2. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/MigrateFieldPluginManagerTest.php \Drupal\Tests\migrate_drupal\Kernel\MigrateFieldPluginManagerTest::nonExistentPluginExceptionsData()
  3. 10 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 88

Class

MigrateFieldPluginManagerTest
Tests the field plugin manager.

Namespace

Drupal\Tests\migrate_drupal\Kernel

Code

public static 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',
        ],
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.