As of writing this article, there is no module that allows you to create a Facebook Product Catalog in combination with Drupal 8 or 9 and Drupal Commerce 2.x. That's why I'm open-sourcing my custom solution today.
As 2019 draws to a close, it’s time for a traditional recap post where I reflect on the best things that happened to me during the year.
Menu Link Attributes is a great Drupal 8 and 9 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.
Drupal 9 is coming soon, more precisely, on June 3, 2020. I prepared a simple checklist for you so that you can take steps right now to make the upgrade easy and painless.
SVG Formatter is a Drupal 8 and 9 module that provides support for using SVG images on your website.
Entity API is a great module that extends the entity API of Drupal core. One feature that I particularly like is the entity query access API. You can use it to alter entity queries and views, to only list the entities that the user has access to.
Find out how to alter Inline Entity Form widget columns.
Performing operations in an update hook that you know will take a lot of time or require a lot of processing power should be done in a batch job.