3 namespace Drupal\{{ machine_name }};
5 use Drupal\Component\Plugin\PluginBase;
8 * Base class for {{ name|lower }} plugins.
10 abstract class {{ class_prefix }}PluginBase extends PluginBase implements {{ class_prefix }}Interface {
15 public function method1() {
16 return 'default implementation of ' . __FUNCTION__;
22 public function method2() {
23 return 'default implementation of ' . __FUNCTION__;
29 public function method3() {
30 return 'default implementation of ' . __FUNCTION__;