projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
5892dc55a3cdd49ebf5c766a45547a3e1c863db1
[yaffs-website]
/
vendor
/
chi-teck
/
drupal-code-generator
/
templates
/
d7
/
hook
/
username_alter.twig
1
/**
2
* Implements hook_username_alter().
3
*/
4
function {{ machine_name }}_username_alter(&$name, $account) {
5
// Display the user's uid instead of name.
6
if (isset($account->uid)) {
7
$name = t('User !uid', array('!uid' => $account->uid));
8
}
9
}