function CallbackTest::strToLower

Same name in other branches
  1. 8.9.x core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::strToLower()
  2. 10 core/modules/migrate/tests/src/Unit/process/CallbackTest.php \Drupal\Tests\migrate\Unit\process\CallbackTest::strToLower()
  3. 11.x 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 131

Class

CallbackTest
Tests the callback process plugin.

Namespace

Drupal\Tests\migrate\Unit\process

Code

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.