Update Composer, update everything
This commit is contained in:
parent
ea3e94409f
commit
dda5c284b6
19527 changed files with 1135420 additions and 351004 deletions
16
vendor/chi-teck/drupal-code-generator/templates/d7/hook/install.twig
vendored
Normal file
16
vendor/chi-teck/drupal-code-generator/templates/d7/hook/install.twig
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
/**
|
||||
* Implements hook_install().
|
||||
*/
|
||||
function {{ machine_name }}_install() {
|
||||
// Populate the default {node_access} record.
|
||||
db_insert('node_access')
|
||||
->fields(array(
|
||||
'nid' => 0,
|
||||
'gid' => 0,
|
||||
'realm' => 'all',
|
||||
'grant_view' => 1,
|
||||
'grant_update' => 0,
|
||||
'grant_delete' => 0,
|
||||
))
|
||||
->execute();
|
||||
}
|
||||
Reference in a new issue