Update to Drupal 8.1.8. For more information, see https://www.drupal.org/project/drupal/releases/8.1.8
This commit is contained in:
parent
e9f047ccf8
commit
f9f23cdf38
312 changed files with 6751 additions and 1546 deletions
|
@ -107,15 +107,15 @@ function hook_user_cancel_methods_alter(&$methods) {
|
|||
*
|
||||
* Called by $account->getDisplayName() to allow modules to alter the username
|
||||
* that is displayed. Can be used to ensure user privacy in situations where
|
||||
* $account->name is too revealing.
|
||||
* $account->getDisplayName() is too revealing.
|
||||
*
|
||||
* @param string $name
|
||||
* The string that $account->getDisplayName() will return.
|
||||
*
|
||||
* @param $account
|
||||
* The account object passed to user_format_name().
|
||||
* The account object the name belongs to.
|
||||
*
|
||||
* @see $account->getDisplayName()
|
||||
* @see \Drupal\Core\Session\AccountInterface->getDisplayName()
|
||||
*/
|
||||
function hook_user_format_name_alter(&$name, $account) {
|
||||
// Display the user's uid instead of name.
|
||||
|
|
Reference in a new issue