public static function Drupal::transliteration in Drupal 8
Same name and namespace in other branches
- 9 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 673 - Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function transliteration() {
return static::getContainer()
->get('transliteration');
}