1 {% extends "base/file.php.twig" %}
3 {% block file_path %}{{machine_name}}.module{% endblock %}
6 use Drupal\Core\Routing\RouteMatchInterface;
9 {% block file_methods %}
11 * Implements hook_help().
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 }}':
18 $output .= '<h3>' . t('About') . '</h3>';
19 $output .= '<p>' . t('{{ description|escape }}') . '</p>';