function Drupal::transliteration
Same name in other branches
- 9 core/lib/Drupal.php \Drupal::transliteration()
- 8.9.x core/lib/Drupal.php \Drupal::transliteration()
- 11.x 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 632
Class
- Drupal
- Static Service Container wrapper.
Code
public static function transliteration() {
return static::getContainer()->get('transliteration');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.