projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5e0f0a1d4b705e653416a54521303c85e735c62e
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d8
/
hook
/
user_logout.twig
1
/**
2
* Implements hook_user_logout().
3
*/
4
function {{ machine_name }}_user_logout($account) {
5
db_insert('logouts')
6
->fields([
7
'uid' => $account->id(),
8
'time' => time(),
9
])
10
->execute();
11
}