3 namespace Drupal\{{ machine_name }}\Plugin\{{ class_prefix }};
5 use Drupal\{{ machine_name }}\{{ class_prefix }}PluginBase;
8 * Example plugin implementation of the {{ machine_name }}.
10 * @{{ class_prefix }}(
12 * label = @Translation("Example"),
13 * description = @Translation("Example description.")
16 class Example extends {{ class_prefix }}PluginBase {
21 public function method1() {
22 return __CLASS__ . ' implementation of ' . __FUNCTION__;