Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
17
vendor/chi-teck/drupal-code-generator/templates/d7/pages.inc.twig
vendored
Normal file
17
vendor/chi-teck/drupal-code-generator/templates/d7/pages.inc.twig
vendored
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Page callbacks for {{ name }} module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Menu callback; presents main {{ name }} page.
|
||||
*/
|
||||
function {{ machine_name }}_main_page() {
|
||||
|
||||
$build['content']['#markup'] = 'It works!';
|
||||
$build['#attached']['js'][] = drupal_get_path('module', '{{ machine_name }}') . '/{{ machine_name }}.js';
|
||||
|
||||
return $build;
|
||||
}
|
||||
Reference in a new issue