Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / plugin-manager / annotation / src / Plugin / Example / Foo.php.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Plugin/Example/Foo.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/annotation/src/Plugin/Example/Foo.php.twig
new file mode 100644 (file)
index 0000000..b1e31e1
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+namespace Drupal\{{ machine_name }}\Plugin\{{ class_prefix }};
+
+use Drupal\{{ machine_name }}\{{ class_prefix }}PluginBase;
+
+/**
+ * Plugin implementation of the {{ plugin_type }}.
+ *
+ * @{{ class_prefix }}(
+ *   id = "foo",
+ *   label = @Translation("Foo"),
+ *   description = @Translation("Foo description.")
+ * )
+ */
+class Foo extends {{ class_prefix }}PluginBase {
+
+}