Yaffs site version 1.1
[yaffs-website] / vendor / drupal / console / templates / module / module.twig
1 {% extends "base/file.php.twig" %}
2
3 {% block file_path %}{{machine_name}}.module{% endblock %}
4
5 {% block use_class %}
6 use Drupal\Core\Routing\RouteMatchInterface;
7 {% endblock %}
8
9 {% block file_methods %}
10 /**
11  * Implements hook_help().
12  */
13 function {{machine_name}}_help($route_name, RouteMatchInterface $route_match) {
14   switch ($route_name) {
15     // Main module help for the {{ machine_name }} module.
16     case 'help.page.{{ machine_name }}':
17       $output = '';
18       $output .= '<h3>' . t('About') . '</h3>';
19       $output .= '<p>' . t('{{ description|escape }}') . '</p>';
20       return $output;
21
22     default:
23   }
24 }
25 {% endblock %}