Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / src / Command / Drupal_8 / Service / ThemeNegotiator.php
index 2620aa43b9983c3eae0f366118212b949f2f4cb3..311e2aa02f0613783a5c1ec3ab1eeae78e34bead 100644 (file)
@@ -23,7 +23,7 @@ class ThemeNegotiator extends BaseGenerator {
   protected function interact(InputInterface $input, OutputInterface $output) {
     $questions = Utils::defaultQuestions();
     $default_class = function ($vars) {
-      return Utils::camelize($vars['name'] . 'Negotiator');
+      return Utils::camelize($vars['name']) . 'Negotiator';
     };
     $questions['class'] = new Question('Class', $default_class);