Version 1
[yaffs-website] / vendor / drush / drush / tests / resources / modules / d7 / woot / woot.module
diff --git a/vendor/drush/drush/tests/resources/modules/d7/woot/woot.module b/vendor/drush/drush/tests/resources/modules/d7/woot/woot.module
new file mode 100644 (file)
index 0000000..f51b34a
--- /dev/null
@@ -0,0 +1,22 @@
+<?php
+
+/**
+ * Implements hook_menu
+ */
+function woot_menu() {
+  $items = array();
+
+  $items['woot'] = array(
+    'title' => 'Woot',
+    'description' => 'Woot mightily.',
+    'page callback' => 'woot_page',
+    'access callback' => TRUE,
+    'type' => MENU_CALLBACK,
+  );
+
+  return $items;
+}
+
+function woot_page() {
+  return array('#markup' => 'Woot!');
+}