function MigrateLookupTest::providerExceptionOnMultipleMigrationsNotFound
Provides data for testExceptionOnMultipleMigrationsNotFound.
File
- 
              core/
modules/ migrate/ tests/ src/ Unit/ MigrateLookupTest.php, line 98  
Class
- MigrateLookupTest
 - Provides unit testing for the migration lookup service.
 
Namespace
Drupal\Tests\migrate\UnitCode
public static function providerExceptionOnMultipleMigrationsNotFound() {
  return [
    'array two items' => [
      [
        'foo',
        'bar',
      ],
      "Plugin IDs 'foo', 'bar' were not found.",
    ],
    'empty array' => [
      [],
      "Plugin IDs '' were not found.",
    ],
  ];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.