template_preprocess_username

function template_preprocess_username

template_preprocess_username(&$variables)

Prepares variables for username templates.

Default template: username.html.twig.

Modules that make any changes to variables like 'name' or 'extra' must ensure that the final string is safe.

Parameters

array $variables: An associative array containing:

File

core/modules/user/登录查看完整内容