Enhances PhpTransliteration with an alter hook.
hook_transliteration_overrides_alter()
Name | Modifiers | Type | Description |
---|---|---|---|
PhpTransliteration::$dataDirectory | protected | property | Directory where data for transliteration resides. |
PhpTransliteration::$genericMap | protected | property | Non-language-specific transliteration tables. |
PhpTransliteration::$languageOverrides | protected | property | Associative array of language-specific character transliteration tables. |
PhpTransliteration::$moduleHandler | protected | property | The module handler to execute the transliteration_overrides alter hook. |
PhpTransliteration::lookupReplacement | protected | function | Look up the generic replacement for a UTF-8 character code. |
PhpTransliteration::ordUTF8 | protected static | function | Finds the character code for a UTF-8 character: like ord() but for UTF-8. |
PhpTransliteration::readGenericData | protected | function | Reads in generic transliteration data for a bank of characters. |
PhpTransliteration::readLanguageOverrides | protected | function | Overrides \Drupal\Component\Transliteration\PhpTransliteration::readLanguageOverrides(). Overrides PhpTransliteration::readLanguageOverrides |
PhpTransliteration::removeDiacritics | public | function | Removes diacritics (accents) from certain letters. Overrides TransliterationInterface::removeDiacritics |
PhpTransliteration::replace | protected | function | Replaces a single Unicode character using the transliteration database. |
PhpTransliteration::transliterate | public | function | Transliterates text from Unicode to US-ASCII. Overrides TransliterationInterface::transliterate |
PhpTransliteration::__construct | public | function | Constructs a PhpTransliteration object. Overrides PhpTransliteration::__construct |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Transliteration!PhpTransliteration.php/class/PhpTransliteration/8.1.x