public static function Drupal::transliteration in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal.php \Drupal::transliteration()
- 9 core/lib/Drupal.php \Drupal::transliteration()
Returns the transliteration service.
Return value
\Drupal\Core\Transliteration\PhpTransliteration The transliteration manager.
3 calls to Drupal::transliteration()
- BlockPluginTrait::transliteration in core/
lib/ Drupal/ Core/ Block/ BlockPluginTrait.php - Wraps the transliteration service.
- DrupalTest::testTransliteration in core/
tests/ Drupal/ Tests/ Core/ DrupalTest.php - Tests the transliteration() method.
- media_theme_suggestions_media in core/
modules/ media/ media.module - Implements hook_theme_suggestions_HOOK().
File
- core/
lib/ Drupal.php, line 619
Class
- Drupal
- Static Service Container wrapper.
Code
public static function transliteration() {
return static::getContainer()
->get('transliteration');
}