You are here

public static function Drupal::transliteration in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal.php \Drupal::transliteration()
  2. 10 core/lib/Drupal.php \Drupal::transliteration()

Returns the transliteration service.

Return value

\Drupal\Core\Transliteration\PhpTransliteration The transliteration manager.

2 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.

File

core/lib/Drupal.php, line 630

Class

Drupal
Static Service Container wrapper.

Code

public static function transliteration() {
  return static::getContainer()
    ->get('transliteration');
}