PhpTransliteration::$languageOverrides

Same name in other branches
  1. 9 core/lib/Drupal/Component/Transliteration/PhpTransliteration.php \Drupal\Component\Transliteration\PhpTransliteration::languageOverrides
  2. 8.9.x core/lib/Drupal/Component/Transliteration/PhpTransliteration.php \Drupal\Component\Transliteration\PhpTransliteration::languageOverrides
  3. 11.x core/lib/Drupal/Component/Transliteration/PhpTransliteration.php \Drupal\Component\Transliteration\PhpTransliteration::languageOverrides

Associative array of language-specific character transliteration tables.

The outermost array keys are language codes. For each language code key, the value is an array whose keys are Unicode character codes, and whose values are the transliterations of those characters to US-ASCII. This is set up as needed in PhpTransliteration::replace() by calling PhpTransliteration::readLanguageOverrides().

Type: array

File

core/lib/Drupal/Component/Transliteration/PhpTransliteration.php, line 49

Class

PhpTransliteration
Implements transliteration without using the PECL extensions.

Namespace

Drupal\Component\Transliteration

Code

protected $languageOverrides = [];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.