Blog

Fresh off the Blog

Unmanaged Files - Part 3

Tutorial

Part 3: Rendering an Unmanaged File in a Block

In Part 2, we built a service that can locate unmanaged files and return one at random. In this part, we’ll expose that functionality as a block plugin. Blocks are a powerful way to make custom logic reusable: site builders can place them anywhere through the Drupal block layout interface, no code changes required.

Unmanaged Files - Part 2

Tutorial
In Part 1 of this series we set the stage for using unmanaged files—assets Drupal doesn’t track as entities—to keep certain use cases simple. In Part 2 we’ll write a small Drupal service that scans a folder tree of images and returns one random file. No categories or constraints yet, that comes later—just proof that Drupal can “see” and use files, living in public://, private://, or even a directory outside the web root, without managing them.

Above Ground - Vol 1 Issue 4

Has this ever happened to you?

Above Ground - Vol 1 Issue 3

I'm often asked where the name Accidental Coder came from. It's not from being accident-prone (though I am littered with adventurer's scars), but there IS a story behind it...

Above Ground - Vol 1 Issue 2

AI meets Human