b29a04b6b4673cc1d10afb408dfdd20778cf2fe9
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / module / plugin-manager / src / ModelPluginBase.php.twig
1 <?php
2
3 namespace Drupal\{{ machine_name }};
4
5 use Drupal\Component\Plugin\PluginBase;
6
7 /**
8  * Base class for {{ name|lower }} plugins.
9  */
10 abstract class {{ class_prefix }}PluginBase extends PluginBase implements {{ class_prefix }}Interface {
11
12   /**
13    * {@inheritdoc}
14    */
15   public function method1() {
16     return 'default implementation of ' . __FUNCTION__;
17   }
18
19   /**
20    * {@inheritdoc}
21    */
22   public function method2() {
23     return 'default implementation of ' . __FUNCTION__;
24   }
25
26   /**
27    * {@inheritdoc}
28    */
29   public function method3() {
30     return 'default implementation of ' . __FUNCTION__;
31   }
32
33 }