Entity Reference and Entity Reference Revisions fields are very similar, but the latter offers more flexibility when it comes to reverting to a previous revision in the case when you have a nested entity. Let's see the easiest way to migrate an existing Entity Reference field to an Entity Reference Revisions field.
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.
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.
As 2020 draws to a close, it’s time for a traditional recap post where I reflect on the things that happened to me during the year.
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.
This website is rather simple and easy to use. That means that there isn't much to test, but having some sort of automated test coverage is giving me peace of mind that everything works as it should.
PHP 8 will be released in a little over three months, to be exact on November 26, 2020. It's a new major version of one of the most popular languages used in web development. Here are 4 cool new features that I can't wait to use in production.
Converting existing image fields to Media image fields is easier than you might think. I just converted all image fields to Media image fields on this website and in this article, I'll show you how I did it.