Drupal

Blog

Gzip static assets for drupal in NGINX

A great way to improve your google PageSpeed score is to add gzip compression to your nginx recipe.

Blog

Delete an entity reference field programmatically

I found this code useful to delete a value saved as an entity reference.

Blog

Adding html to a views header programmatically

Learns you how to put messages on top of a view

Blog

Deleting all terms of a taxonomy in bulk with drush

This drush snippet helps you to remove tags in bulk.

Blog

Fixing CORS issues with decoupled drupal

A common issue is CORS errors when testing on a local environment on decoupled installations. This will guide you into fixing it.

Blog

Get site name programmatically in drupal 8 & 9

This configuration setting is easy to get with the following snippet.

Subscribe to Drupal