generate:plugin:mail
生成 mail 插件
使用方法:
drupal generate:plugin:mail [options]
gpm
可用选项
选项 | 详细信息 |
---|---|
--module | 模块名 |
--class | 插件类名 |
--label | 插件标签 |
--plugin-id | 插件 ID |
--services | 从容器加载服务。 |
例子
- Generate an email plugin specifying the module name, the class, its label and the plugin id
drupal generate:plugin:mail \ --module="modulename" \ --class="HtmlFormatterMail" \ --label="Html formatter mail" \ --plugin-id="html_formatter_mail"