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 / RestResource.php
index fabe2a3d4a905d469d4c07b5b5cf5594457d4820..231c38839ad108bf6f7ef22d3ce3cddeba9c8308 100644 (file)
@@ -24,7 +24,7 @@ class RestResource extends BaseGenerator {
     $questions = Utils::defaultPluginQuestions();
 
     $vars = &$this->collectVars($input, $output, $questions);
-    $vars['class'] = Utils::camelize($vars['plugin_label'] . 'Resource');
+    $vars['class'] = Utils::camelize($vars['plugin_label']) . 'Resource';
 
     $this->addFile()
       ->path('src/Plugin/rest/resource/{class}.php')