官术网_书友最值得收藏!

  • Drupal 8 Theming with Twig
  • Chaz Chumley
  • 143字
  • 2021-07-16 12:41:29

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 understanding of how themes are configured and exactly how they let Drupal know where to display content and how the content should look.

主站蜘蛛池模板: 南漳县| 两当县| 澄城县| 微山县| 高密市| 禄丰县| 阜平县| 阿巴嘎旗| 南皮县| 武城县| 开鲁县| 木兰县| 新民市| 固始县| 湖南省| 肇州县| 永新县| 高碑店市| 承德市| 长治县| 普兰县| 张家界市| 资兴市| 龙井市| 余姚市| 蒙阴县| 饶阳县| 新宁县| 讷河市| 余庆县| 泰顺县| 望城县| 保德县| 富宁县| 郎溪县| 乐至县| 广昌县| 贵阳市| 班玛县| 城步| 额尔古纳市|