function TemplateProjectTestBase::providerTemplate

Data provider for tests which use all the core project templates.

Return value

string[][] The test cases.

File

core/modules/package_manager/tests/src/Build/TemplateProjectTestBase.php, line 95

Class

TemplateProjectTestBase
Base class for tests which create a test site from a core project template.

Namespace

Drupal\Tests\package_manager\Build

Code

public static function providerTemplate() : array {
    return [
        'RecommendedProject' => [
            'RecommendedProject',
        ],
        'LegacyProject' => [
            'LegacyProject',
        ],
    ];
}

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