Twitterings

Twitterings and ramblings of Sophie Shanahan-Kluth

Recent posts

Welcome to the site of Sophie S-K, a Drupal developer based in Bristol, UK.

Running functional JavaScript tests in Docksal

Running PHPUnit tests in Docksal is straightforward, but we struggled to get Functional JavaScript tests to run within Docksal. Here's how we got them working.

Creating fields in update hooks on Drupal 8

You've got an update hook that depends on a new field that depends on config import that needs to be done after the update hook has run that requires the config import that needs... ARGH.

User registration using Simple Oauth

In a headless setup, I wanted to protect the user registration endpoint from being accessed by unauthenticated users. I achieved it using the Simple Oauth module.