如何覆盖 Drupal 8 Simplenews 的订阅块?

How to override Subscription Block at Drupal 8 Simplenews?

我正在开发一个 Drupal 8 网站,我想覆盖 Simplenews 模块的订阅块。我知道如何在 Drupal 7 中实现它,它来自 simplenews-block.tpl.php ,但现在模块不同了。
在 Drupal-7 中,我使用它来覆盖块而不是 .module 文件:http://api.worldempire.ch/api/simplenews/theme%21simplenews-block.tpl.php/7-2。 ..我想要 Drupal-8 的等价物。

目前没有确切的等价物。要覆盖该块的实际块模板,您可以使用 'block--simplenewssubscription.html.twig'。您可以使用输入和表单模板来覆盖其他元素。我建议在 Twig 中启用调试,这样您就可以看到模板覆盖。