function UnicodeTest::providerLcfirst
Data provider for testLcfirst().
Return value
array An array containing a string and its lowercase version.
See also
testLcfirst()
File
- 
              core/tests/ Drupal/ Tests/ Component/ Utility/ UnicodeTest.php, line 138 
Class
- UnicodeTest
- Test unicode handling features implemented in Unicode component.
Namespace
Drupal\Tests\Component\UtilityCode
public function providerLcfirst() {
  // cSpell:disable
  return [
    [
      'tHe QUIcK bRoWn',
      'tHe QUIcK bRoWn',
    ],
    [
      'FrançAIS is ÜBER-åwesome',
      'françAIS is ÜBER-åwesome',
    ],
    [
      'Über',
      'über',
    ],
    [
      'Åwesome',
      'åwesome',
    ],
    // Add a multibyte string.
[
      'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
      'αΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
    ],
  ];
  // cSpell:enable
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
