Category: Drupal
How to programmatically render a view with contextual filters?
Programmatically rendering a view with contextual filters is not something you need to do every day, but it's good to know that you can do it very easily. And you can do it in two different ways.
Display and Form pseudo fields in Drupal 9 and 10
Pseudo fields are a special type of field that you can add to any content entity type. Let's see how to add this kind of field to the form and entity displays.
Various ways of updating field values in Drupal 8 and 9
A recent tweet by CHX got me thinking. Drupal 8 was released almost 5 years ago, and some things are still a mystery for a lot of developers, including me. Let's explore the various ways of updating field values in Drupal 8 and 9.