Loading core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php +1 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ public function processAttachments(AttachmentsInterface $response) { * An array of commands ready to be returned as JSON. */ protected function buildAttachmentsCommands(AjaxResponse $response, Request $request) { $ajax_page_state = $request->request->get('ajax_page_state'); $ajax_page_state = $request->request->all('ajax_page_state'); // Aggregate CSS/JS if necessary, but only during normal site operation. $optimize_css = !defined('MAINTENANCE_MODE') && $this->config->get('css.preprocess'); Loading core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ public function getContext($query_arg = NULL) { return ($value !== NULL) ? $value : ''; } elseif ($this->requestStack->getCurrentRequest()->query->has($query_arg)) { $value = $this->requestStack->getCurrentRequest()->query->get($query_arg); $value = $this->requestStack->getCurrentRequest()->query->all()[$query_arg]; if (is_array($value)) { return http_build_query($value); } Loading core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ public function renderResponse(array $main_content, Request $request, RouteMatch $title = $main_content['#title'] ?? $this->titleResolver->getTitle($request, $route_match->getRouteObject()); // Determine the dialog options and the target for the OpenDialogCommand. $options = $request->request->get('dialogOptions', []); $options = $request->request->all('dialogOptions'); $target = $this->determineTargetSelector($options, $route_match); $response->addCommand(new OpenDialogCommand($target, $title, $content, $options)); Loading core/lib/Drupal/Core/Render/MainContent/ModalRenderer.php +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ public function renderResponse(array $main_content, Request $request, RouteMatch // Determine the title: use the title provided by the main content if any, // otherwise get it from the routing information. $options = $request->request->get('dialogOptions', []); $options = $request->request->all('dialogOptions'); $response->addCommand(new OpenModalDialogCommand($title, $content, $options)); return $response; Loading core/lib/Drupal/Core/Render/MainContent/OffCanvasRenderer.php +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ public function renderResponse(array $main_content, Request $request, RouteMatch // Determine the title: use the title provided by the main content if any, // otherwise get it from the routing information. $options = $request->request->get('dialogOptions', []); $options = $request->request->all('dialogOptions'); $response->addCommand(new OpenOffCanvasDialogCommand($title, $content, $options, NULL, $this->position)); return $response; } Loading Loading
core/lib/Drupal/Core/Ajax/AjaxResponseAttachmentsProcessor.php +1 −1 Original line number Diff line number Diff line Loading @@ -128,7 +128,7 @@ public function processAttachments(AttachmentsInterface $response) { * An array of commands ready to be returned as JSON. */ protected function buildAttachmentsCommands(AjaxResponse $response, Request $request) { $ajax_page_state = $request->request->get('ajax_page_state'); $ajax_page_state = $request->request->all('ajax_page_state'); // Aggregate CSS/JS if necessary, but only during normal site operation. $optimize_css = !defined('MAINTENANCE_MODE') && $this->config->get('css.preprocess'); Loading
core/lib/Drupal/Core/Cache/Context/QueryArgsCacheContext.php +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ public function getContext($query_arg = NULL) { return ($value !== NULL) ? $value : ''; } elseif ($this->requestStack->getCurrentRequest()->query->has($query_arg)) { $value = $this->requestStack->getCurrentRequest()->query->get($query_arg); $value = $this->requestStack->getCurrentRequest()->query->all()[$query_arg]; if (is_array($value)) { return http_build_query($value); } Loading
core/lib/Drupal/Core/Render/MainContent/DialogRenderer.php +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ public function renderResponse(array $main_content, Request $request, RouteMatch $title = $main_content['#title'] ?? $this->titleResolver->getTitle($request, $route_match->getRouteObject()); // Determine the dialog options and the target for the OpenDialogCommand. $options = $request->request->get('dialogOptions', []); $options = $request->request->all('dialogOptions'); $target = $this->determineTargetSelector($options, $route_match); $response->addCommand(new OpenDialogCommand($target, $title, $content, $options)); Loading
core/lib/Drupal/Core/Render/MainContent/ModalRenderer.php +1 −1 Original line number Diff line number Diff line Loading @@ -31,7 +31,7 @@ public function renderResponse(array $main_content, Request $request, RouteMatch // Determine the title: use the title provided by the main content if any, // otherwise get it from the routing information. $options = $request->request->get('dialogOptions', []); $options = $request->request->all('dialogOptions'); $response->addCommand(new OpenModalDialogCommand($title, $content, $options)); return $response; Loading
core/lib/Drupal/Core/Render/MainContent/OffCanvasRenderer.php +1 −1 Original line number Diff line number Diff line Loading @@ -64,7 +64,7 @@ public function renderResponse(array $main_content, Request $request, RouteMatch // Determine the title: use the title provided by the main content if any, // otherwise get it from the routing information. $options = $request->request->get('dialogOptions', []); $options = $request->request->all('dialogOptions'); $response->addCommand(new OpenOffCanvasDialogCommand($title, $content, $options, NULL, $this->position)); return $response; } Loading