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.
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.
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.
This website is using the Magazin Lite theme. It’s a nice looking theme, but I don’t like the way it's structured and coded. There are just too many things that slow down the page load, so I need a new theme.
In just two simple steps you can remove the Login or continue as guest pane and simplify your checkout process. In my opinion, this step is completely unnecessary and just confuses your customers.
As of writing this article, there is no module that allows you to create a Facebook Product Catalog in combination with Drupal 8 and Drupal Commerce 2.x. That's why I'm open-sourcing my custom solution today.
Menu Link Attributes is a great Drupal 8 module that allows you to add attributes to your menu links. Let's see how you can set the attributes programmatically.
Composer is a great tool for Drupal and in general PHP developers, but in some cases, it might take some effort to accomplish what you want. I tried to install Drupal 9 (dev version) and Drush 10 today and here's what I had to do to make it work.