-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close #3861 Change scope of spaceless filter from all elements to hea…
…ding elements.
- Loading branch information
Showing
4 changed files
with
87 additions
and
0 deletions.
There are no files selected for viewing
File renamed without changes.
29 changes: 29 additions & 0 deletions
29
themes/custom/az_barrio/templates/field_group/field-group-html-element--h2.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation for a fieldgroup html element. | ||
* | ||
* Available variables: | ||
* - title: Title of the group. | ||
* - title_element: Element to wrap the title. | ||
* - children: The children of the group. | ||
* - wrapper_element: The html element to use | ||
* - attributes: A list of HTML attributes for the group wrapper. | ||
* | ||
* @see template_preprocess_field_group_html_element() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
<{{ wrapper_element }} {{ attributes }}> | ||
{% if title %} | ||
<{{ title_element }}{{ title_attributes }}>{{ title }}</{{ title_element }}> | ||
{% endif %} | ||
{% if collapsible %} | ||
<div class="field-group-wrapper"> | ||
{% endif %} | ||
{% apply spaceless %}{{children}}{% endapply %} | ||
{% if collapsible %} | ||
</div> | ||
{% endif %} | ||
</{{ wrapper_element }}> |
29 changes: 29 additions & 0 deletions
29
themes/custom/az_barrio/templates/field_group/field-group-html-element--h3.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation for a fieldgroup html element. | ||
* | ||
* Available variables: | ||
* - title: Title of the group. | ||
* - title_element: Element to wrap the title. | ||
* - children: The children of the group. | ||
* - wrapper_element: The html element to use | ||
* - attributes: A list of HTML attributes for the group wrapper. | ||
* | ||
* @see template_preprocess_field_group_html_element() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
<{{ wrapper_element }} {{ attributes }}> | ||
{% if title %} | ||
<{{ title_element }}{{ title_attributes }}>{{ title }}</{{ title_element }}> | ||
{% endif %} | ||
{% if collapsible %} | ||
<div class="field-group-wrapper"> | ||
{% endif %} | ||
{% apply spaceless %}{{children}}{% endapply %} | ||
{% if collapsible %} | ||
</div> | ||
{% endif %} | ||
</{{ wrapper_element }}> |
29 changes: 29 additions & 0 deletions
29
themes/custom/az_barrio/templates/field_group/field-group-html-element--h4.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{# | ||
/** | ||
* @file | ||
* Default theme implementation for a fieldgroup html element. | ||
* | ||
* Available variables: | ||
* - title: Title of the group. | ||
* - title_element: Element to wrap the title. | ||
* - children: The children of the group. | ||
* - wrapper_element: The html element to use | ||
* - attributes: A list of HTML attributes for the group wrapper. | ||
* | ||
* @see template_preprocess_field_group_html_element() | ||
* | ||
* @ingroup themeable | ||
*/ | ||
#} | ||
<{{ wrapper_element }} {{ attributes }}> | ||
{% if title %} | ||
<{{ title_element }}{{ title_attributes }}>{{ title }}</{{ title_element }}> | ||
{% endif %} | ||
{% if collapsible %} | ||
<div class="field-group-wrapper"> | ||
{% endif %} | ||
{% apply spaceless %}{{children}}{% endapply %} | ||
{% if collapsible %} | ||
</div> | ||
{% endif %} | ||
</{{ wrapper_element }}> |