To Alter or Dispatch: Drupal 8 Events versus Alter Hooks

Lee Rowlands of previousnext discusses Drupal 8 events versus alter hooks, a great introduction to those new to Drupal 8's event system:

Drupal 8 comes with two extension points for module developers to allow other modules to interact with their code.

But there is a new kid on the block, the event system.

So as a module developer how do you decide whether to use the alter system or the event system.

aGov: First Impressions of Australia's Government Drupal Distro

Sam Becker writes about aGov, a Drupal distribution built and maintained by the Australian Drupal shop PreviousNext:

The distribution is a foundation for websites built for government organisations. At Code Drop we've been involved in the development of websites for government bodies locally in WA, however it is an area that is forecast to expand significantly and one that all Drupal agencies should be embracing.


he distro is packaged with 9 default bundles which cater to all of the typical government content requirements you might expect to find. The out of the box content admin experience is highly polished and well considered with searchable taxonomy select lists, great media management and sane WYSIWYG defaults.

Worth checking out.

Using Mink for web testing

Cameron Zemek from PreviousNext writes about using Mink to test Drupal 7. At Xplain Hosting we're great fans of Behat. Mink is a component of Behat that allows you to test a website using a real browser.

In this post, I'll be taking a look at the Mink layer behind Behat and using it for web scraping and functional testing and what this means for the future of Drupal testing.