You are here

public static function RealisticDummyContentEnvironment::strToLower in Realistic Dummy Content 3.x

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::strToLower()
  2. 7.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::strToLower()

Wrapper around drupal_strtolower(if it exists) or strtolower.

See those functions for details.

1 call to RealisticDummyContentEnvironment::strToLower()
RealisticDummyContentEnvironment::lowercaseRadicalNoExtension in api/src/includes/RealisticDummyContentEnvironment.php
Returns the part of a string before the extension, in lowercase.

File

api/src/includes/RealisticDummyContentEnvironment.php, line 383

Class

RealisticDummyContentEnvironment
The abstract base environment.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

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