Skip to content

Commit

Permalink
USAGOV-2150-es-wizard-crumb: Remove linewrap
Browse files Browse the repository at this point in the history
  • Loading branch information
omerida committed Dec 26, 2024
1 parent 05c7889 commit f9a1c2b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions web/modules/custom/usagov_wizard/usagov_wizard.module
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,7 @@ function usagov_wizard_get_term_breadcrumb(Term $rootTerm): array {
// Setting the language here assumes all the crumbs are pages from the same language
// as the root term.
if (!isset($crumb['url'])) {
$crumb['url'] = Url::fromUri($crumb['uri'], ['language' => $rootTerm->language()])
->toString();
$crumb['url'] = Url::fromUri($crumb['uri'], ['language' => $rootTerm->language()])->toString();
}
}
if (isset($crumb['title'])) {
Expand Down

0 comments on commit f9a1c2b

Please sign in to comment.