diff --git a/core/modules/contact/src/Entity/ContactForm.php b/core/modules/contact/src/Entity/ContactForm.php index 4e848f5..14171d2 100644 --- a/core/modules/contact/src/Entity/ContactForm.php +++ b/core/modules/contact/src/Entity/ContactForm.php @@ -185,13 +185,13 @@ public function toArray() { if ($this->url) { $properties['route'] = [ 'route_name' => $this->url->getRouteName(), - 'route_parameters' => $this->url->getRouteParameters(), + 'route_params' => $this->url->getRouteParameters(), ]; } else { $properties['route'] = [ 'route_name' => '', - 'route_parameters' => [], + 'route_params' => [], ]; } return $properties;