projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
user_update.twig
1
/**
2
* Implements hook_user_update().
3
*/
4
function {{ machine_name }}_user_update(&$edit, $account, $category) {
5
db_insert('user_changes')
6
->fields(array(
7
'uid' => $account->uid,
8
'changed' => time(),
9
))
10
->execute();
11
}