Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / plugin_filter_TYPE__CONSUMER_alter.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE__CONSUMER_alter.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/plugin_filter_TYPE__CONSUMER_alter.twig
new file mode 100644 (file)
index 0000000..d843ea6
--- /dev/null
@@ -0,0 +1,7 @@
+/**
+ * Implements hook_plugin_filter_TYPE__CONSUMER_alter().
+ */
+function {{ machine_name }}_plugin_filter_TYPE__CONSUMER_alter(array &$definitions, array $extra) {
+  // Explicitly remove the "Help" block for this consumer.
+  unset($definitions['help_block']);
+}