function SourceProviderTest::providerSourceProvider

Same name in other branches
  1. 9 core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php \Drupal\Tests\migrate_drupal_ui\Functional\SourceProviderTest::providerSourceProvider()
  2. 10 core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php \Drupal\Tests\migrate_drupal_ui\Functional\SourceProviderTest::providerSourceProvider()

Data provider for testSourceProvider.

File

core/modules/migrate_drupal_ui/tests/src/Functional/SourceProviderTest.php, line 60

Class

SourceProviderTest
Tests that a missing source provider error message is displayed.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

public static function providerSourceProvider() {
    return [
        [
            'path_to_database' => '/tests/fixtures/drupal6.php',
        ],
        [
            'path_to_database' => '/tests/fixtures/drupal7.php',
        ],
    ];
}

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