BS Blog

BS Blog - Plugins

All posts relating to Plugins.

Latest Plugins Posts:

Default Image

Country Flag output for Drupal

2025-08-06

Recently 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...

Read more...

Trimming the Fat: Three Simple Ways to Reduce Code in Drupal

2025-07-09

Drupal, 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...

Read more...
Default Image

A Vocabulary Condition for Drupal

2021-01-22

Being that Taxonomy Terms by default have a viewable page, it really surprised me to find that there's no condition to show blocks depending on which bundle (vocabulary) you're viewing, absolutely ludacris....

Read more...

Drupal: Creating a configurable block

2019-01-16

Drupal 8/9 blocks are implemented as plugins. Sometimes you want that plugin to have some configuration that is specific to it's instance, here's how.

Read more...