diff --git a/core/modules/user/user.module b/core/modules/user/user.module index 0b884fa..49bcb62 100644 --- a/core/modules/user/user.module +++ b/core/modules/user/user.module @@ -717,8 +717,6 @@ function user_template_preprocess_default_variables_alter(&$variables) { * Modules that make any changes to variables like 'name' or 'extra' must insure * that the final string is safe to include directly in the output by using * check_plain() or filter_xss(). - * - * @see template_process_username() */ function template_preprocess_username(&$variables) { $account = $variables['account']; @@ -764,14 +762,7 @@ function template_preprocess_username(&$variables) { $variables['link_options']['html'] = TRUE; // Set a default class. $variables['attributes'] = array('class' => array('username')); -} - -/** - * Processes variables for theme_username(). - * - * @see template_preprocess_username() - */ -function template_process_username(&$variables) { + // Finalize the link_options array for passing to the l() function. // This is done in the process phase so that attributes may be added by // modules or the theme during the preprocess phase. @@ -806,7 +797,6 @@ function template_process_username(&$variables) { * Drupal\Core\Template\Attribute class if not linking to the user's page. * * @see template_preprocess_username() - * @see template_process_username() */ function theme_username($variables) { if (isset($variables['link_path'])) {