Skip to content

Commit

Permalink
Added mising variables to the Basic Content component theme template.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Jun 25, 2024
1 parent 377434c commit a48fa5e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions web/themes/contrib/civictheme/civictheme.theme
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@ function civictheme_theme(): array {
'variables' => [
'component_theme' => CivicthemeConstants::THEME_LIGHT,
'content' => '',
'vertical_spacing' => NULL,
'is_contained' => TRUE,
'with_background' => FALSE,
'attributes' => NULL,
'modifier_class' => NULL,
],
'template' => 'misc/basic-content',
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,9 @@
{% include '@molecules/basic-content/basic-content.twig' with {
theme: component_theme,
content: content
vertical_spacing: vertical_spacing,
is_contained: is_contained,
with_background: with_background,
attributes: attributes,
modifier_class: modifier_class,
} only %}

0 comments on commit a48fa5e

Please sign in to comment.