Loading core/lib/Drupal/Core/Utility/ThemeRegistry.php +1 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,7 @@ public function getPreprocessInvokes(): array { * @internal */ public function getGlobalPreprocess(): array { return $this->get('global preprocess'); return $this->get('global preprocess') ?? []; } } Loading
core/lib/Drupal/Core/Utility/ThemeRegistry.php +1 −1 Original line number Diff line number Diff line Loading @@ -190,7 +190,7 @@ public function getPreprocessInvokes(): array { * @internal */ public function getGlobalPreprocess(): array { return $this->get('global preprocess'); return $this->get('global preprocess') ?? []; } }