protected function PhpTransliteration::readLanguageOverrides in Zircon Profile 8.0
Same name in this branch
- 8.0 core/lib/Drupal/Core/Transliteration/PhpTransliteration.php \Drupal\Core\Transliteration\PhpTransliteration::readLanguageOverrides()
- 8.0 core/lib/Drupal/Component/Transliteration/PhpTransliteration.php \Drupal\Component\Transliteration\PhpTransliteration::readLanguageOverrides()
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Transliteration/PhpTransliteration.php \Drupal\Core\Transliteration\PhpTransliteration::readLanguageOverrides()
Overrides \Drupal\Component\Transliteration\PhpTransliteration::readLanguageOverrides().
Allows modules to alter the language-specific $overrides array by invoking hook_transliteration_overrides_alter().
Overrides PhpTransliteration::readLanguageOverrides
File
- core/
lib/ Drupal/ Core/ Transliteration/ PhpTransliteration.php, line 50 - Contains \Drupal\Core\Transliteration\PhpTransliteration.
Class
- PhpTransliteration
- Enhances PhpTransliteration with an alter hook.
Namespace
Drupal\Core\TransliterationCode
protected function readLanguageOverrides($langcode) {
parent::readLanguageOverrides($langcode);
// Let modules alter the language-specific overrides.
$this->moduleHandler
->alter('transliteration_overrides', $this->languageOverrides[$langcode], $langcode);
}