Extra Block Types (EBT) - New Layout Builder experience❗
Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.
❗Extra Paragraph Types (EPT) - New Paragraphs experience
Extra Paragraph Types (EPT) - analogical paragraph based set of modules.
Extending templates
Menu
- Understanding Drupal
- Drupal System Requirements
- Installing Drupal 8
- Drupal 8 Update
- Drupal Site Administration
- Drupal 8 Modules
- Drupal Modules Comparison
- Drupal Themes
- Drupal field types
- Configuration Management
- Multisite Drupal
- Accessibility Features
- Troubleshooting in Drupal
- Creating modules for Drupal
- Drupal 8 API
-
Theming in Drupal
- Define a theme using file .info.yml
- Theme folder structure in Drupal
- Adding a region in theme
- Add CSS and JavaScript (JS) in Drupal theme
-
Twig in Drupal
- Working with Twig templates
- Twig Template Naming Conventions
- Comparison of PHPTemplate and Twig Paradigms
- Find and check variables in Twig template
- Debug Twig template
- Debugging Compiled Twig Templates
- Debugging Twig templates
- Filters - Changing variables in Twig templates
- Functions in Twig templates
- Macros in Twig templates
- Best Practices for Twig – Preprocess Functions and Templates
- Creating Custom Twig Templates for a Custom Module
- Extending templates
- Subthemes
- Subtheme: Using Classy as a Base Theme
- Classy themes css selectors
- Including Default Image Styles with Your Theme
- Include template
- Using attributes in templates
- Preprocessing and modifying attributes in the .theme file
- Working with Breakpoints in Drupal 8
- Creating Advanced Theme Settings
- Theme Differences Between Drupal 6, 7, and 8
- Updating Classes from 7.x to 8.x
- Inheritance in subtheme
- Creating Automation Tools for Custom Themes (Gulp.js)
- Instructions for converting Drupal Twig (tpl.php to html.twig)
- Z-index in Drupal
- Upgrade to Drupal 11
Twig templates can be extended using the following syntax:
{% extends 'html.twig' %}
For more details, see https://symfony.com/doc/current/templates.html#template-inheritance-and-layouts
Drupal’s online documentation is © 2000-2020 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License.