BS Blog - Drupal
Latest Drupal Posts:

Country Flag output for Drupal
2025-08-06Recently I needed to output flag icons for country selections on a Drupal site. There's a few modules out there, but all have a lot of dependencies and are using images when really this is supported out...

Trimming the Fat: Three Simple Ways to Reduce Code in Drupal
2025-07-09Drupal, a powerful content management system, can sometimes feel a bit bloated. But fear not, fellow developers, for we have a few tricks up our sleeves to streamline your code and make it as lean as...

Lazy Like a Drupal Service: Avoiding Unnecessary Baggage on Your Website
2024-02-08Imagine your website loaded down with unused services, like a pack mule carrying bricks it only needs on Tuesdays. That's where Lazy services in Drupal come in, your website's personal whipping boy, getting...

Drupal 8 / 9 - Programatically Change Field Widgets
2022-01-05Recently I had a client who had the need to allow users to create content, but have varying levels of access to certain fields.

Config Readonly + Blocks (Drupal 8/9)
2021-11-15If you currently don't use Config Readonly to protect config changes on Production, then either get on it or get outta here and stop wasting my bandwidth, jerk.
- Page 1