X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Fsrc%2Fplugin-type-annotation-interface.php.twig;fp=vendor%2Fdrupal%2Fconsole%2Ftemplates%2Fmodule%2Fsrc%2Fplugin-type-annotation-interface.php.twig;h=bd8e51ede407e5042344c473352f1991fe06c507;hp=0000000000000000000000000000000000000000;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad diff --git a/vendor/drupal/console/templates/module/src/plugin-type-annotation-interface.php.twig b/vendor/drupal/console/templates/module/src/plugin-type-annotation-interface.php.twig new file mode 100644 index 000000000..bd8e51ede --- /dev/null +++ b/vendor/drupal/console/templates/module/src/plugin-type-annotation-interface.php.twig @@ -0,0 +1,23 @@ +{% extends "base/class.php.twig" %} + +{% block file_path %} +\Drupal\{{ module }}\Plugin\{{ class_name }}Interface. +{% endblock %} + +{% block namespace_class %} +namespace Drupal\{{ module }}\Plugin; +{% endblock %} + +{% block use_class %} +use Drupal\Component\Plugin\PluginInspectionInterface; +{% endblock %} + +{% block class_declaration %} +/** + * Defines an interface for {{ label }} plugins. + */ +interface {{ class_name }}Interface extends PluginInspectionInterface {% endblock %} +{% block class_methods %} + + // Add get/set methods for your plugin type here. +{% endblock %}