1 {% block file_methods %}
2 {% if not file_exists %}
3 {% include 'module/php_tag.php.twig' %}
5 use Drupal\Core\Routing\RouteMatchInterface;
7 * Implements hook_help().
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 }}':
14 $output .= '<h3>' . t('About') . '</h3>';
15 $output .= '<p>' . t('{{ description|escape }}') . '</p>';