For all Drupal devlopers who use Emacs!

You must install drupal-mode from

You may need to create the ~/.emacs.d/plugins/drupal-mode-el/ directory to put the drupal-mode.el file into.  And on Debian/Ubuntu you will probably have to install the w3m-el package – but after that you have a Drupal specific php-mode called drupal-mode.

This fixes the issue whereby arrays in php-mode are not indented in the same way that Drupal Coding Standards specify.




Share Post :