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 / yaml / src / ExampleInterface.php.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleInterface.php.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/plugin-manager/yaml/src/ExampleInterface.php.twig
new file mode 100644 (file)
index 0000000..c15879d
--- /dev/null
@@ -0,0 +1,18 @@
+<?php
+
+namespace Drupal\{{ machine_name }};
+
+/**
+ * Interface for {{ plugin_type }} plugins.
+ */
+interface {{ class_prefix }}Interface {
+
+  /**
+   * Returns the translated plugin label.
+   *
+   * @return string
+   *   The translated title.
+   */
+  public function label();
+
+}