b1535c4d4a137085131531bc0dc04845a73f64db
[yaffs-website] / vendor / drush / drush / tests / resources / modules / d8 / woot / woot.module
1 <?php
2
3 /**
4  * @file
5  * Contains woot.module.
6  */
7
8 use Drupal\Core\Routing\RouteMatchInterface;
9
10 /**
11  * Implements hook_help().
12  */
13 function woot_help($route_name, RouteMatchInterface $route_match) {
14   switch ($route_name) {
15     // Main module help for the woot module.
16     case 'help.page.woot':
17       $output = '';
18       $output .= '<h3>' . t('About') . '</h3>';
19       $output .= '<p>' . t('Woot Mightily.') . '</p>';
20       return $output;
21
22     default:
23   }
24 }
25
26 /**
27  * Implements hook_theme().
28  */
29 function woot_theme() {
30   $theme = [];
31
32   return $theme;
33 }