projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
9798ba838d4da03dfc87c2bc2d203e264bdc2534
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
update.twig
1
/**
2
* Implements hook_update().
3
*/
4
function {{ machine_name }}_update($node) {
5
db_update('mytable')
6
->fields(array('extra' => $node->extra))
7
->condition('nid', $node->nid)
8
->execute();
9
}