block--preview-aware-block.html.twig
Same filename in other branches
{% if in_preview %} The block template is being previewed. {% endif %} {% include '@block/block.html.twig' %}
File
-
core/
modules/ layout_builder/ tests/ modules/ layout_builder_test/ templates/ block--preview-aware-block.html.twig
View source
- {% if in_preview %}
- The block template is being previewed.
- {% endif %}
-
- {% include '@block/block.html.twig' %}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.