Skip to main content


Get active trails in expanded menu

On one drupal site, I use a multilevel menu as the main menu and set it to 'expand all' in the menu block settings. I don't know, if this is the usual behaviour - but with this setup I  loose the active trails indicator on the menu array in twig. It took some while to find a solution for this problem ...

Drupal, fast dump

During development, it's comfortable to have a command in bash history to create a quick development dump:

Install drush globally

sudo git clone /usr/local/src/drush

cd /usr/local/src/drush