function MigrationLookupTest::noSkipValidDataProvider

Same name in other branches
  1. 9 core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::noSkipValidDataProvider()
  2. 8.9.x core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::noSkipValidDataProvider()
  3. 10 core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::noSkipValidDataProvider()

Provides data for the NoSkipValid test.

Return value

array Empty values.

File

core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php, line 173

Class

MigrationLookupTest
@coversDefaultClass \Drupal\migrate\Plugin\migrate\process\MigrationLookup @group migrate

Namespace

Drupal\Tests\migrate\Unit\process

Code

public static function noSkipValidDataProvider() {
    return [
        'Integer Zero' => [
            0,
        ],
        'String Zero' => [
            '0',
        ],
        'Float Zero' => [
            0.0,
        ],
    ];
}

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