Skip to main content
Start of main content.

Drupal 8

Sending Drupal entities to dialogflow with Chatbot API module

Services like dialogflow (formerly api.ai) do a much better job of natural language parsing (NLP) if they're aware of your entity names in advance.

For example, it can recognize that show me the weather in Bundabergis a request for weather in Bundaberg, if you've told it ahead of time that Bundaberg is a valid value for the City entity.

Having the entity values automatically update in your service of choice when they're created and changed in Drupal makes this much more efficient.

This article will show you how to achieve that.

Amaysim thumbnail image

Amaysim

Australia’s fourth largest mobile service provider, amaysim, required a new website that would allow the scope to keep up with the company’s growth and agility both now and into the future. In early 2016, PreviousNext were engaged for the development of this new site on the Drupal content management system.

Read about Amaysim

Using Composer to debug issues updating Drupal core

This week whilst trying to update one of our projects to the latest version of Drupal 8 core, we had some issues.

We use Composer to manage our dependencies, modules etc, and on this particular occasion, things weren't straightforward.

In order to solve it, we had to use some of the lesser known features of Composer, so decided to share.

Wyndham City Council thumbnail image

Wyndham City

In late 2015, Wyndham City, a local government organisation based in the south-west region of Melbourne, undertook a competitive tender selection for the redevelopment of their website and chose PreviousNext to deliver this new site on Drupal.

Read about Wyndham City

Drupal 8 FTW: Is it a test or is it a form? Actually, its both

As you'd be aware by now - Drupal 8 features lots of refactoring of form procedural code to object-oriented.

One such refactoring was the way forms are build, validated and executed.

One cool side-effect of this is that you can now build and test a form with a single class.

Yep that's right, the form and the test are one and the same - read on to find out more.

Refactoring Drupal batch API callbacks to increase testability

Drupal's Batch API is great, it allows you to easily perform long running processes with feedback to the user.

But during Drupal 8's development processes it was one of the remaining systems that didn't get the full object oriented, service-based architecture.

Much of the batch API is largely unchanged from Drupal 7.

But that doesn't mean you can't write unit-testable callbacks.

Let's get started.