public static function Drupal::transliteration in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/lib/Drupal.php \Drupal::transliteration()
Returns the transliteration service.
Return value
\Drupal\Core\Transliteration\PhpTransliteration The transliteration manager.
2 calls to Drupal::transliteration()
- BlockBase::transliteration in core/
lib/ Drupal/ Core/ Block/ BlockBase.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 621 - Contains \Drupal.
Class
- Drupal
- Static Service Container wrapper.
Code
public static function transliteration() {
return static::getContainer()
->get('transliteration');
}