function UnicodeTest::providerStrtolower
Data provider for testStrtolower().
Return value
array An array containing a string and its lowercase version.
See also
testStrtolower()
File
-
core/
tests/ Drupal/ Tests/ Component/ Utility/ UnicodeTest.php, line 111
Class
- UnicodeTest
- Test unicode handling features implemented in Unicode component.
Namespace
Drupal\Tests\Component\UtilityCode
public function providerStrtolower() {
return [
[
'tHe QUIcK bRoWn',
'the quick brown',
],
[
'FrançAIS is ÜBER-åwesome',
'français is über-åwesome',
],
[
'ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΣὨ',
'αβγδεζηθικλμνξοσὠ',
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.