Issue #3000240 by govind.maloo, philipnorton42, msankhala, izus, scott_euser, joachim, alexpott, catch: hook_user_format_name_alter() should document that it's invoked for both user entities and session objects (cherry picked from commit b6208e52)