--- /dev/null
+<?php
+
+namespace Drupal\{{ machine_name }}\Plugin\{{ class_prefix }};
+
+use Drupal\{{ machine_name }}\{{ class_prefix }}PluginBase;
+
+/**
+ * Example plugin implementation of the {{ machine_name }}.
+ *
+ * @{{ class_prefix }}(
+ * id = "example",
+ * label = @Translation("Example"),
+ * description = @Translation("Example description.")
+ * )
+ */
+class Example extends {{ class_prefix }}PluginBase {
+
+ /**
+ * {@inheritdoc}
+ */
+ public function method1() {
+ return __CLASS__ . ' implementation of ' . __FUNCTION__;
+ }
+
+}