public static function RealisticDummyContentEnvironment::strToLower in Realistic Dummy Content 8.2
Same name and namespace in other branches
- 7.2 api/src/includes/RealisticDummyContentEnvironment.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentEnvironment::strToLower()
- 3.x 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 395
Class
- RealisticDummyContentEnvironment
- The abstract base environment.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public static function strToLower($string) {
if (function_exists('drupal_strtolower')) {
return drupal_strtolower($string);
}
else {
return strtolower($string);
}
}