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