Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / other / dcg-command-template.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/other/dcg-command-template.twig b/vendor/chi-teck/drupal-code-generator/templates/other/dcg-command-template.twig
new file mode 100644 (file)
index 0000000..0c94e4b
--- /dev/null
@@ -0,0 +1,17 @@
+{% verbatim %}<?php
+
+namespace Drupal\{{ machine_name }};
+
+/**
+ * Some custom service of the {{ name }} module.
+ */
+class {{ class }} {
+
+  /**
+   * Method description.
+   */
+  public function meow() {
+    echo 'Meow!';
+  }
+
+}{% endverbatim %}