X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Fsrc%2FCommand%2FDrupal_8%2FTest%2FWeb.php;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Fsrc%2FCommand%2FDrupal_8%2FTest%2FWeb.php;h=eba6bcc8aadde3c93fd9307aa90f0713913f05ab;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Test/Web.php b/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Test/Web.php new file mode 100644 index 000000000..eba6bcc8a --- /dev/null +++ b/vendor/chi-teck/drupal-code-generator/src/Command/Drupal_8/Test/Web.php @@ -0,0 +1,35 @@ +setValidator([Utils::class, 'validateClassName']); + + $this->collectVars($input, $output, $questions); + + $this->addFile() + ->path('src/Tests/{class}.php') + ->template('d8/test/web.twig'); + } + +}