Skip to content
Snippets Groups Projects
Commit baf32c92 authored by Tim Bozeman's avatar Tim Bozeman
Browse files

Issue #3501810 by tim bozeman: Override mode's render array memory is broken

parent 20dea69b
Branches
Tags
No related merge requests found
......@@ -178,7 +178,9 @@ final class OverrideMode {
'url' => Url::fromRoute($route, $route_parameters, $options)->toString(),
'theme_suggestion' => $theme_suggestion,
];
$variables = $this->addPlaceholders($variables);
// This needs to be refactored as it now throws
// Deprecated function: Creation of dynamic property Drupal\Core\Template\Attribute::$#override_mode_breadcrumb is deprecated in Drupal\component_library\OverrideMode->traverse()
// $variables = $this->addPlaceholders($variables);
try {
$bubbleable['#attached']['html_head'][] = [
[
......@@ -189,7 +191,7 @@ final class OverrideMode {
'type' => 'application/json',
'data-uuid' => $uuid,
],
'#value' => Json::encode($variables),
'#value' => Json::encode([]),
],
$uuid,
];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment