function ComposerProjectTemplatesTest::provideTemplateCreateProject
Same name in other branches
- 9 core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php \Drupal\BuildTests\Composer\Template\ComposerProjectTemplatesTest::provideTemplateCreateProject()
- 8.9.x core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php \Drupal\BuildTests\Composer\Template\ComposerProjectTemplatesTest::provideTemplateCreateProject()
- 10 core/tests/Drupal/BuildTests/Composer/Template/ComposerProjectTemplatesTest.php \Drupal\BuildTests\Composer\Template\ComposerProjectTemplatesTest::provideTemplateCreateProject()
1 call to ComposerProjectTemplatesTest::provideTemplateCreateProject()
- ComposerProjectTemplatesTest::testVerifyTemplateTestProviderIsAccurate in core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php - Make sure we've accounted for all the templates.
File
-
core/
tests/ Drupal/ BuildTests/ Composer/ Template/ ComposerProjectTemplatesTest.php, line 70
Class
- ComposerProjectTemplatesTest
- Demonstrate that Composer project templates can be built as patched.
Namespace
Drupal\BuildTests\Composer\TemplateCode
public static function provideTemplateCreateProject() {
return [
'recommended-project' => [
'drupal/recommended-project',
'composer/Template/RecommendedProject',
'/web',
],
'legacy-project' => [
'drupal/legacy-project',
'composer/Template/LegacyProject',
'',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.