theme-test-preprocess-suggestions.html.twig
Same filename in other branches
- 9 core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-suggestions.html.twig
- 10 core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-suggestions.html.twig
- 11.x core/modules/system/tests/modules/theme_test/templates/theme-test-preprocess-suggestions.html.twig
<div class="suggestion">{{ foo }}</div> {% if bar %} <div class="suggestion">{{ bar }}</div> {% endif %}
2 theme calls to theme-test-preprocess-suggestions.html.twig
- ThemeTestController::preprocessSuggestions in core/
modules/ system/ tests/ modules/ theme_test/ src/ ThemeTestController.php - Controller for testing preprocess functions with theme suggestions.
- ThemeTestController::preprocessSuggestions in core/
modules/ system/ tests/ modules/ theme_test/ src/ ThemeTestController.php - Controller for testing preprocess functions with theme suggestions.
File
-
core/
modules/ system/ tests/ modules/ theme_test/ templates/ theme-test-preprocess-suggestions.html.twig
View source
- <div class="suggestion">{{ foo }}</div>
- {% if bar %}
- <div class="suggestion">{{ bar }}</div>
- {% endif %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.