Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / other / dcg-command.twig
index d48caafc7594fa210438fe8097f03a92d928fe4a..74fc6c7407191e3cf68cd5c66303c8cdc2ce0588 100644 (file)
@@ -27,7 +27,7 @@ class {{ class }} extends BaseGenerator {
     // Ask the user some questions.
     $questions = Utils::defaultQuestions();
     $default_class = function ($vars) {
-      return Utils::camelize($vars['name'] . 'Example');
+      return Utils::camelize($vars['name']) . 'Example';
     };
     $questions['class'] = new Question('Class', $default_class);