Skip to content

Commit

Permalink
UHF-8703: fix phpcs errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jussiles committed Sep 29, 2023
1 parent 74e290d commit a8f4194
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/themes/custom/hdbt_subtheme/hdbt_subtheme.theme
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ function hdbt_subtheme_preprocess_block__views_block__of_interest(&$variables):
if ($task_area_term = $node->get('field_task_area')?->first()?->get('entity')?->getValue()) {
$options = [
'query' => ['task_areas' => $task_area_term->get('field_external_id')->value],
'absolute' => TRUE
'absolute' => TRUE,
];
$alias = Url::fromRoute('entity.node.canonical', ['node' => $search_page_nid], $options);

Expand Down Expand Up @@ -204,7 +204,7 @@ function hdbt_subtheme_preprocess_node(&$variables): void {
if ($search_page_nid = $config->get('search_page')) {
$options = [
'query' => ['task_areas' => $task_area_term->get('field_external_id')->value],
'absolute' => TRUE
'absolute' => TRUE,
];
$variables['task_area_rekry_search_url'] = Url::fromRoute('entity.node.canonical', ['node' => $search_page_nid], $options);
}
Expand Down

0 comments on commit a8f4194

Please sign in to comment.