Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / chi-teck / drupal-code-generator / templates / d8 / hook / theme_suggestions_HOOK.twig
diff --git a/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK.twig b/vendor/chi-teck/drupal-code-generator/templates/d8/hook/theme_suggestions_HOOK.twig
new file mode 100644 (file)
index 0000000..f099429
--- /dev/null
@@ -0,0 +1,10 @@
+/**
+ * Implements hook_theme_suggestions_HOOK().
+ */
+function {{ machine_name }}_theme_suggestions_HOOK(array $variables) {
+  $suggestions = [];
+
+  $suggestions[] = 'hookname__' . $variables['elements']['#langcode'];
+
+  return $suggestions;
+}