- Drupal 8 Module Development
- Daniel Sipos
- 160字
- 2021-07-02 15:45:11
The theme system
The responsibility of 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 or layouts, but work primarily with theming definitions and templates that are needed within the module. Typically, it is the best practice to ensure that modules are able to theme their data. If done right, themes can then come into play and override that theming to change the presentation.
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 fronted developers' job much easier, not to mention more secure.
- 編程的修煉
- Debian 7:System Administration Best Practices
- Python程序設(shè)計(jì)(第3版)
- Git高手之路
- Java軟件開(kāi)發(fā)基礎(chǔ)
- Visual Basic程序設(shè)計(jì)與應(yīng)用實(shí)踐教程
- C程序設(shè)計(jì)案例教程
- 快人一步:系統(tǒng)性能提高之道
- Learning ArcGIS for Desktop
- 微信小程序開(kāi)發(fā)與實(shí)戰(zhàn)(微課版)
- Python程序設(shè)計(jì)開(kāi)發(fā)寶典
- 創(chuàng)意UI Photoshop玩轉(zhuǎn)移動(dòng)UI設(shè)計(jì)
- Solr權(quán)威指南(下卷)
- SQL Server on Linux
- Swift iOS Programming for Kids