You are here

public static function CallbackTest::strToLower in Drupal 8

Same name and namespace in other branches
  1. 9 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 74

Class

CallbackTest
Tests the callback process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

public static function strToLower($string) {
  return mb_strtolower($string);
}