public function getPathReposForType($workspace_directory,
$subdir) { // Find the Composer items that we want to be path repos.
/** @var \SplFileInfo[] $path_repos */
$path_repos = Composer::
composerSubprojectPaths($workspace_directory,
$subdir);
$data =
[];
foreach ($path_repos as $path_repo) { $json_file =
new JsonFile($path_repo->
getPathname());
$json =
$json_file->
read();
$data[$json['name'
]] =
$path_repo->
getPath();
} return $data;
} public function provideTemplateCreateProject() { return [ 'recommended-project' =>
[ 'drupal/recommended-project',
'composer/Template/RecommendedProject',