Version 1
[yaffs-website] / vendor / drush / drush / tests / resources / modules / d8 / woot / woot.module
diff --git a/vendor/drush/drush/tests/resources/modules/d8/woot/woot.module b/vendor/drush/drush/tests/resources/modules/d8/woot/woot.module
new file mode 100644 (file)
index 0000000..b1535c4
--- /dev/null
@@ -0,0 +1,33 @@
+<?php
+
+/**
+ * @file
+ * Contains woot.module.
+ */
+
+use Drupal\Core\Routing\RouteMatchInterface;
+
+/**
+ * Implements hook_help().
+ */
+function woot_help($route_name, RouteMatchInterface $route_match) {
+  switch ($route_name) {
+    // Main module help for the woot module.
+    case 'help.page.woot':
+      $output = '';
+      $output .= '<h3>' . t('About') . '</h3>';
+      $output .= '<p>' . t('Woot Mightily.') . '</p>';
+      return $output;
+
+    default:
+  }
+}
+
+/**
+ * Implements hook_theme().
+ */
+function woot_theme() {
+  $theme = [];
+
+  return $theme;
+}