Skip to main content

Drupal 8

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.

Using Composer to debug issues updating Drupal core

by Lee Rowlands /

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.

Read the full post
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.

Migrating Drupal 7 File Entities to Drupal 8 Media Entities

by Jibran Ijaz /

The Drupal 8.3.x branch is getting ready to introduce a new experimental media module. This will bring enhanced media handling in Drupal 8. The closest solution in Drupal 7 to handle media is the file entity module. Now is the time to discuss migrations from file entity in Drupal 7 to media entities in Drupal 8. For core, there is already an issue for this, but for contrib... there is no migration. So, I wrote one.

Read the full post

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

by Lee Rowlands /

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.

Read the full post

Refactoring Drupal batch API callbacks to increase testability

by Lee Rowlands /

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.

Read the full post

Pagination