Commit 5e8250b2 authored by catch's avatar catch
Browse files

fix: #3564510 TypeError:...

fix: #3564510 TypeError: Drupal\Core\Utility\ThemeRegistry::getGlobalPreprocess(): Return value must be of type array

By: roy6432
By: ralphmoser
By: nicxvan
By: berdir
(cherry picked from commit 5d5b25bd)
parent 14a3a22f
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -190,7 +190,7 @@ public function getPreprocessInvokes(): array {
   * @internal
   */
  public function getGlobalPreprocess(): array {
    return $this->get('global preprocess');
    return $this->get('global preprocess') ?? [];
  }

}