function CallbackTest::strToLower
Same name in other branches
- 9 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::strToLower()
- 8.9.x core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::strToLower()
- 10 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::strToLower()
Makes a string lowercase for testing purposes.
Parameters
string $string: The input string.
Return value
string The lowercased string.
See also
\Drupal\Tests\migrate\Unit\process\CallbackTest::providerCallback()
File
-
core/
modules/ migrate/ tests/ src/ Unit/ process/ CallbackTest.php, line 133
Class
- CallbackTest
- Tests the callback process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public static function strToLower($string) {
return mb_strtolower($string);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.