function MigrationLookupTest::skipInvalidDataProvider
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::skipInvalidDataProvider()
- 8.9.x core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::skipInvalidDataProvider()
- 10 core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php \Drupal\Tests\migrate\Unit\process\MigrationLookupTest::skipInvalidDataProvider()
Provides data for the SkipInvalid test.
Return value
array Empty values.
File
-
core/
modules/ migrate/ tests/ src/ Unit/ process/ MigrationLookupTest.php, line 129
Class
- MigrationLookupTest
- @coversDefaultClass \Drupal\migrate\Plugin\migrate\process\MigrationLookup @group migrate
Namespace
Drupal\Tests\migrate\Unit\processCode
public static function skipInvalidDataProvider() {
return [
'Empty String' => [
'',
],
'Boolean False' => [
FALSE,
],
'Empty Array' => [
[],
],
'Null' => [
NULL,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.