Ore no Drupal
This is a tech blog of Acret Inc.
We will irregularly post contents related to web development and operation, with a focus on Drupal technology.
-
2026/10/26
Drupal 10 support ends on December 9, 2026, and Drupal 12 comes out the same week. If your site is still on Drupal 10 or older, now is a good time to start planning. In this article, I'll go over the important dates, the main features of a modern Drupal site, what has changed from Drupal 9 to Drupal 12, and how our team handles upgrades.
-
2026/10/19
When developing a Drupal website, you may encounter a bug in a contributed module that has not yet been fixed in an official release. Waiting for an update is not always practical, especially when the issue affects a site's functionality or blocks a deployment.
Composer patches provide a way to apply a targeted code change to a dependency without modifying the original package manually. The patch can be stored in the project repository and applied through Composer, allowing other developers and deployment environments to use the same change.
Patches are generally best treated as temporary fixes. They need to be tested, documented, and reviewed when the affected module is updated.
-
2026/08/27
Almost every content-driven Drupal site eventually needs a search feature, and almost every team underestimates how much is involved in building one well. A naive approach, a Views filter doing a CONTAINS match against the node title and body, works for a handful of pages, but falls apart as content grows: it can't rank results by relevance, it struggles with partial or fuzzy matches, and every query gets slower as the node_field_data table grows. This is the gap that Drupal's Search API module is built to close.
Search API doesn't perform searches itself. Instead, it provides a common abstraction layer between Drupal's entities and a variety of search backends (a plain database via search_api_db, Apache Solr via search_api_solr, Elasticsearch, and others), so the rest of the site can be built once, in Drupal's own configuration and Views layer, and swapped to a different backend later without rebuilding the search feature from scratch. This article walks through what Search API is, its core building blocks, and the practical steps involved in standing one up on a Drupal site.