Skip to main content

Drupal 9 to 10 upgrade an example of the actual steps taken

 

Continuing on from the Drupal 9 to Drupal 10 upgrade outline written earlier... Upgrading Drupal 9 to Drupal 10.  However, the point of difference is this article works through the actual action steps of the upgrade.

Planning and testing is critical for the Drupal to version 10 process to work successfully.  As some of the environments that I work in are deployed via CD/CI pipelines.

Drupal set the private folder

How to set the Private file path in Drupal using the following steps:

  • Create a private folder in the web root
  • Add a .htaccess file to the private folder
  • Update the settings.php file

 

FontAwesome icons working in CKEditor 5

Using CK Editor 5, I needed to add instructions to a page that held FontAwesome (FA) icons.  Included in these instructions were a couple of FA icons.  Initially adding them was going to be resolved using Pseudo-elements.  Accordingly they would be applied as follows:

How to exclude a specific css file from aggregation

I've been working on a problem where a font and image tag aren't appearing on the front end of my website. I found that if I disable CSS aggregation, the YouTube play button symbol and overlay will appear. However, this slows down the page speed.

How to leverage CSS aggregation but set specific files to be excluded?

I'm wondering how to leverage CSS aggregation but exclude specific files. Here's an example of what my theme libraries file looks like:

Upgrading Drupal 9 to Drupal 10

 

Updating to Drupal 10

Begin by upgrading Drupal 9 to the latest version.  Currently that is 9.5.10

 

Show the favicon in bootstrap barrio sub theme

Having a situation where I'm running a sub theme based on Bootstrap Barrio, but I want to be able to see the favicon in the sub theme.  Like many situations, once you know where to look the solution is quite simple.  Yet the path of discovery can take time.

In hunting down a solution, I looked into the theme settings yaml file.  But to no avail.

 

Subscribe to 10.x