Capitalizes the first letter of a UTF-8 string.
$text: The string to convert.
The string with the first letter as uppercase.
\Drupal\Component\Utility\Unicode::ucfirst().
... See full list
function drupal_ucfirst($text) { return Unicode::ucfirst($text); }