Ciao, 
mi trovo alle prese con la necessità di allungare il numero di carateri visualizzati nei nomi utente.

Attualmente Drupal 8 tronca i nomi a 15 caratteri mentre a me serve allungare questo numero a 21.

Temporaneamente ho risolto modificando manualmente i numeri di caratteri in user.module:

<code>
// Set the name to a formatted name that is safe for printing and
  // that won't break tables by being too long. Keep an unshortened,
  // unsanitized version, in case other preprocess functions want to implement
  // their own shortening logic or add markup. If they do so, they must ensure
  // that $variables['name'] is safe for printing.
  $name  = $account->getDisplayName();
  $variables['name_raw'] = $account->getUsername();
  if (Unicode::strlen($name) > 20) {
    $name = Unicode::truncate($name, 15, FALSE, TRUE);
    $variables['truncated'] = TRUE;
  }
  else {
    $variables['truncated'] = FALSE;
  }
  $variables['name'] = $name;
  $variables['profile_access'] = \Drupal::currentUser()->hasPermission('access user profiles');

  $external = FALSE;
</code>

In rete ho trovato come intervenire dal tema ma solo per Drupal 7, qualcuno sa come si può fare in Drupal 8?