Blog
Setting up permission to manage users but not adminster all users in Drupal 10
The Role Delegation module is a handy solution to this problem, as it allows you to delegate the management of user roles without giving the full "administer users" permission
Blog
When to Use Services Directly and When to Use Containers and Object-Oriented Programming in modern Drupal
This blog post will discuss when to use services directly and when to use containers and OOP in Drupal.
Blog
Overwriting Routes in Drupal 9 & 10 using Route Subscriber and Custom Controller
In this blog post, we'll walk you through the process of overwriting a route in Drupal using a route subscriber and a custom controller. This can be useful when you want to change the functionality or appearance of an existing route without modifying the core or contributed modules.
Blog
Filtering entities with EntityQuery using "Is Not Equal To" condition
In this blog post, we will discuss how to filter entities based on the value of a multiple-choice field using EntityQuery in Drupal. The goal is to return all entities except those with a given value ('doe' in this example).
Blog
How to install a Drupal 8 contrib module in Drupal 9 or 10 with composer
In this blog post, we will discuss how to install a Drupal 8 contrib module with a Drupal 9 patch using Composer. This process can help you avoid duplicating the contrib module in your project's custom codebase and streamline your workflow.
Blog
Moving an image file with hook_update in Drupal 10
I had this issue where the generic thumbnail of a media item of type file had gone missing. Because this was a multisite installation, I had to automatically find a solution. Here is how I did it:
Blog
Understanding Hooks in Drupal (with examples)
In this blog post, we will provide an easy-to-understand explanation of hooks in Drupal 9 along with some code examples that are compatible with PHP 8. If you're an intermediate PHP developer looking to improve your skills and start learning Drupal, this post is for you.
Blog
How to Fetch and Display the Label of a List Field in a Twig Template (Drupal 10)
In this post, we will explore some of the most effective methods to help you display the label of a list field in your Twig template.
Blog
What's new in Drupal 10
In this blog post, we'll take a closer look at some of the enhancements that are expected to improve performance, reduce the hassle of writing new code, and support community initiatives for bug-fixing and addressing issues.
Blog
Midjourney v5 Lighting Tips 📚
Lighting is a crucial element of your prompt, as it significantly impacts the quality and mood of the image.