Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
8
vendor/chi-teck/drupal-code-generator/templates/d7/hook/boot.twig
vendored
Normal file
8
vendor/chi-teck/drupal-code-generator/templates/d7/hook/boot.twig
vendored
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
/**
|
||||
* Implements hook_boot().
|
||||
*/
|
||||
function {{ machine_name }}_boot() {
|
||||
// We need user_access() in the shutdown function. Make sure it gets loaded.
|
||||
drupal_load('module', 'user');
|
||||
drupal_register_shutdown_function('devel_shutdown');
|
||||
}
|
||||
Reference in a new issue