Folder structure and naming conventions

In Drupal 8, the folder structure is changed to make it more logical. Everything that ships with Drupal now resides in a core folder including the default themes, which are now contained within the core/themes folder. However, any themes that we download or develop ourselves now reside within the themes folder.

The folder structure comprises the following:

  • Default themes: These themes reside in the core/themes directory and include Bartik, classy, seven, stable, and stark.
  • Custom themes: These themes reside in the themes directory at the root level of our Drupal installation and will contain any contributed themes or custom themes.

Before we can begin creating our own custom themes, we need to have a better ...

Get Drupal 8: Enterprise Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.