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 / EntityReferenceSelection.php
index 1351d4af483d97f9b8063a10e3f5bbab17fef652..d93640dd9985d55226cff007da50eafd2ddb02fd 100644 (file)
@@ -46,7 +46,7 @@ class EntityReferenceSelection extends BaseGenerator {
     $questions['configurable'] = new ConfirmationQuestion('Provide additional plugin configuration?', FALSE);
 
     $default_class = function ($vars) {
-      return Utils::camelize($vars['machine_name'] . '_' . $vars['entity_type'] . 'Selection');
+      return Utils::camelize($vars['machine_name'] . '_' . $vars['entity_type']) . 'Selection';
     };
     $questions['class'] = new Question('Class', $default_class);