How should I implement a callback to a single Drupal class (in my case it's Transliteration). I don't need a full Drupal load/bootstrap, but one independent class.
The purpose of the AJAX code would be the following:
- User inputs 'áéíóű'
- The input is sent via AJAX
- The
Transliteration
class changes the input to 'aeiou' - The result is returned to the client
I've found this related issue, but it would be nice to have a simple example (and documentation) for it.