Skip to content

Commit

Permalink
Merge pull request #779 from UN-OCHA/berliner/HPC-9276
Browse files Browse the repository at this point in the history
HPC-9276: Implement progressively collapsing navigation for section and document navigation menus
  • Loading branch information
berliner authored Nov 10, 2023
2 parents aa86c3d + b0c4d16 commit f05fb51
Show file tree
Hide file tree
Showing 11 changed files with 269 additions and 4,530 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,14 @@ public function build() {
$output['entity_navigation'] = [
'#theme' => 'item_list',
'#items' => $tabs,
'#attributes' => [
'class' => [
'links--entity-navigation',
],
],
'#cache' => [
'tags' => $cache_tags,
],
'#gin_lb_theme_suggestions' => FALSE,
// This is important to make the template suggestions logic work in
// common_design_subtheme.theme.
'#context' => [
'plugin_type' => 'entity_navigation',
'plugin_id' => $this->getPluginId(),
],
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,14 @@ public function build() {
$output['entity_navigation'] = [
'#theme' => 'item_list',
'#items' => $tabs,
'#attributes' => [
'class' => [
'links--entity-navigation',
],
],
'#cache' => [
'tags' => $cache_tags,
],
'#gin_lb_theme_suggestions' => FALSE,
// This is important to make the template suggestions logic work in
// common_design_subtheme.theme.
'#context' => [
'plugin_type' => 'entity_navigation',
'plugin_id' => $this->getPluginId(),
],
];
Expand Down
Loading

0 comments on commit f05fb51

Please sign in to comment.