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 / BreadcrumbBuilder.php
index 84e4d96bd9e573efd3938d53c7c30914067d1898..ae6c79b11bd5a1361f0e6623f8820fb283acda0c 100644 (file)
@@ -23,7 +23,7 @@ class BreadcrumbBuilder extends BaseGenerator {
   protected function interact(InputInterface $input, OutputInterface $output) {
     $questions = Utils::defaultQuestions();
     $default_class = function ($vars) {
-      return Utils::camelize($vars['name'] . 'BreadcrumbBuilder');
+      return Utils::camelize($vars['name']) . 'BreadcrumbBuilder';
     };
     $questions['class'] = new Question('Class', $default_class);