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