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

Chapter 3. Dissecting a Theme

Drupal 8 provides us, as developers and designers, with a unique opportunity to change the appearance of the output content. We have the ability to manage the configuration from the admin user interface as well as work with the actual templates and variables that output the HTML, CSS, and JavaScript. To get a better understanding, we will take a look at dissecting a theme, as we cover the following:

  • Having a proper development environment is important when working with themes, so we will take a look at the steps involved in configuring our local environment.
  • Next, we will compare the similarities and differences between core default themes and custom themes while looking at how configuration has changed in Drupal 8 with the introduction of the info.yml file.
  • Being able to breakdown how the metadata of the info.yml works in conjunction with general information, libraries, and regions will ensure that we have a better understanding of Drupal's theme configuration.
  • The role of templates, where to find core templates, and the process of overriding templates plays a major role in theming, so we will introduce ourselves to the Twig templating system.
  • Finally, we will look at the role the theme file plays in manipulating template variables and how we can use it to our advantage when working with the content.
主站蜘蛛池模板: 新邵县| 城口县| 宝山区| 洪湖市| 逊克县| 桂阳县| 玉屏| 巩留县| 大洼县| 瑞金市| 花垣县| 广州市| 磐安县| 卢湾区| 东乡| 扎兰屯市| 普陀区| 佛冈县| 新密市| 内丘县| 雷波县| 长武县| 淮安市| 建阳市| 德庆县| 巴东县| 小金县| 南郑县| 合阳县| 措勤县| 宁城县| 平顺县| 息烽县| 湖口县| 新蔡县| 成安县| 安塞县| 札达县| 日喀则市| 邯郸市| 行唐县|