function MigrationTest::getProcessPluginsExceptionMessageProvider

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
  2. 10 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
  3. 11.x core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()

Provides data for testing invalid process pipeline.

File

core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php, line 74

Class

MigrationTest
Tests the migration plugin.

Namespace

Drupal\Tests\migrate\Kernel\Plugin

Code

public function getProcessPluginsExceptionMessageProvider() {
    return [
        [
            'Null' => [
                'dest' => NULL,
            ],
        ],
        [
            'boolean' => [
                'dest' => TRUE,
            ],
        ],
        [
            'integer' => [
                'dest' => 2370,
            ],
        ],
        [
            'float' => [
                'dest' => 1.61,
            ],
        ],
    ];
}

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