function MigrationTest::getProcessPluginsExceptionMessageProvider

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php \Drupal\Tests\migrate\Kernel\Plugin\MigrationTest::getProcessPluginsExceptionMessageProvider()
  2. 8.9.x 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 static function getProcessPluginsExceptionMessageProvider() : \Generator {
    (yield 'null' => [
        'process' => [
            'dest' => NULL,
        ],
    ]);
    (yield 'boolean' => [
        'process' => [
            'dest' => TRUE,
        ],
    ]);
    (yield 'integer' => [
        'process' => [
            'dest' => 2370,
        ],
    ]);
    (yield 'float' => [
        'process' => [
            'dest' => 1.61,
        ],
    ]);
}

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