core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php b/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php index 739263a..4bd0f2e 100644 --- a/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php +++ b/core/lib/Drupal/Core/Render/MainContent/HtmlRenderer.php @@ -212,7 +212,7 @@ protected function prepare(array $main_content, Request $request, RouteMatchInte } // Allow hooks to add attachments to $page['#attached']. - static::invokePageAttachmentHooks($page); + $this->invokePageAttachmentHooks($page); // Determine the title: use the title provided by the main content if any, // otherwise get it from the routing information.