Skip to content
Snippets Groups Projects

Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers

Open Issue #2845319: The highlighting of the 'Home' menu-link does not respect query strings and fragment identifiers
2 unresolved threads
Open Ben Mullins requested to merge issue/drupal-2845319:2845319-the-highlighting-of into 9.3.x
2 unresolved threads
2 files
+ 28
1
Compare changes
  • Side-by-side
  • Inline
Files
2
  • 77d7fb65
    Issue #3310271 by catch, longwave, benjifisher, samuel.mortenson: Container... · 77d7fb65
    Alex Pott authored
    Issue #3310271 by catch, longwave, benjifisher, samuel.mortenson: Container serialization must handle string services in 9.x
@@ -16,7 +16,10 @@ public function getServiceIdMappings(): array {
$mapping = [];
foreach ($this->getServiceIds() as $service_id) {
if ($this->initialized($service_id) && $service_id !== 'service_container') {
$mapping[$this->generateServiceIdHash($this->get($service_id))] = $service_id;
$service = $this->get($service_id);
if (is_object($service)) {
$mapping[$this->generateServiceIdHash($service)] = $service_id;
}
}
}
return $mapping;
Loading