Drupal

English

Replace two variable values without creating a third variable

It is not really a real-life example rather a theoretical one - because who wants to replace two variable values without creating a third variable. Nevertheless, you might face this theoretical question on job interviews and it is definietly an advantage if you can answer it :)

Pathauto: Remove accentuated characters from URL

Pathauto is quite a useful module of Drupal 7.

I created a module that transforms accentuated letters and other UTF-8 characters into ASCII characters in a way that the url is SEO-friendly.