function CredentialFormTest::providerCredentialForm

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

Data provider for testCredentialForm.

File

core/modules/migrate_drupal_ui/tests/src/Functional/CredentialFormTest.php, line 92

Class

CredentialFormTest
Test the credential form for both Drupal 6 and Drupal 7 sources.

Namespace

Drupal\Tests\migrate_drupal_ui\Functional

Code

public static function providerCredentialForm() {
    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.