- // $raw_variables->get('filter_format') == 'plain_text'.
-
- $raw_variables = $route_match->getRawParameters();
+ // $raw_parameters->get('filter_format') == 'plain_text'. Parameters that
+ // are not represented in the route path as slugs might be added by a route
+ // enhancer and will not be present in the raw parameters.
+ $raw_parameters = $route_match->getRawParameters();
+ $parameters = $route_match->getParameters();