Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
22
vendor/drupal/console/templates/module/help.php.twig
vendored
Normal file
22
vendor/drupal/console/templates/module/help.php.twig
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
{% block file_methods %}
|
||||
{% if not file_exists %}
|
||||
{% include 'module/php_tag.php.twig' %}
|
||||
{% endif %}
|
||||
use Drupal\Core\Routing\RouteMatchInterface;
|
||||
/**
|
||||
* Implements hook_help().
|
||||
*/
|
||||
function {{machine_name}}_help($route_name, RouteMatchInterface $route_match) {
|
||||
switch ($route_name) {
|
||||
// Main module help for the {{ machine_name }} module.
|
||||
case 'help.page.{{ machine_name }}':
|
||||
$output = '';
|
||||
$output .= '<h3>' . t('About') . '</h3>';
|
||||
$output .= '<p>' . t('{{ description|escape }}') . '</p>';
|
||||
return $output;
|
||||
|
||||
default:
|
||||
}
|
||||
}
|
||||
|
||||
{% endblock %}
|
Reference in a new issue