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

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

Summary

We have covered a lot of information surrounding the administration of themes in Drupal 8. So, let's recap exactly what we have covered so far:

  • We answered the question, "What is a theme?"
  • We took an in-depth look at the Appearance interface and how we can use it to install, uninstall, and configure settings, including toggling the display of certain page elements.
  • We learned how to work with the logo image settings and shortcut icon settings that can be configured for themes.
  • We worked with prebuilt themes and learned where to find them, how to install them using the Drupal admin, and manually using a theme archive.
  • Finally, we took a detailed look at blocks and regions, including how to configure blocks and control their appearance using the new custom blocks layout to add additional fields and view modes.

In the next chapter, we will begin dissecting a theme. This includes taking a look at the file and folder structure of a theme, configuration management, and what makes up a core theme versus a custom theme. We will also explore the new info.yml configuration, the role of assets in Drupal, and how templates function with an introduction to Twig. Finally, we will follow up with looking closer at the theme file and how it can control variables within our templates.

主站蜘蛛池模板: 普兰县| 普洱| 盐源县| 临泽县| 济南市| 华亭县| 莎车县| 崇明县| 罗田县| 夏河县| 南康市| 开封市| 县级市| 上虞市| 绥化市| 广平县| 满城县| 通许县| 游戏| 兴海县| 息烽县| 聂荣县| 瑞丽市| 呈贡县| 常宁市| 邓州市| 仲巴县| 通州市| 开化县| 绥阳县| 诸暨市| 凤凰县| 绵阳市| 安吉县| 疏勒县| 蛟河市| 乐至县| 兴和县| 济源市| 泊头市| 桐城市|