- Drupal 8 Module Development
- Daniel Sipos
- 163字
- 2021-07-02 12:22:35
The theme system
The responsibility for theming a given piece of data is spread out over the Drupal core, modules, and the themes themselves. So, as a module developer, it is important to know that both modules and themes can theme data or content.
In this book, we will focus on the aspects that happen at the module level. We will not concern ourselves with styling, but work primarily with theming definitions and templates that are needed within the module. Typically, it is best practice to ensure that modules are able to theme their data. If done right, themes can then come into play to style the output or override that theming to change the presentation altogether.
A major shift in Drupal 8 compared to older versions is the move to the open source Twig templating system (https://twig.sensiolabs.org/). This makes the separation of logic from a presentation that much clearer and makes frontend developers jobs much easier, not to mention more secure.
- Learning ROS for Robotics Programming(Second Edition)
- Node.js 10實戰(zhàn)
- Software Testing using Visual Studio 2012
- Java虛擬機字節(jié)碼:從入門到實戰(zhàn)
- Learn Swift by Building Applications
- Web全棧工程師的自我修養(yǎng)
- 快速念咒:MySQL入門指南與進階實戰(zhàn)
- Yocto for Raspberry Pi
- Java項目實戰(zhàn)精編
- 量化金融R語言高級教程
- Java程序設(shè)計入門
- 單片機原理及應(yīng)用技術(shù)
- Java Web開發(fā)實例大全(基礎(chǔ)卷) (軟件工程師開發(fā)大系)
- 深入解析Java編譯器:源碼剖析與實例詳解
- Hands-On Dependency Injection in Go