Created
November 16, 2015 10:02
-
-
Save normanlolx/c674e8bb21cbf59cfb78 to your computer and use it in GitHub Desktop.
Drupal replace trimmed username by full username
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Implements THEME_preprocess_username(). | |
*/ | |
function THEME_preprocess_username(&$vars) { | |
$vars['name'] = $vars['name_raw']; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment