Verified Commit 9c4defda authored by Dave Long's avatar Dave Long
Browse files

task: #3588453 Drop unnecessary theme_preprocess_for_suggestions from keyvalue

By: nicxvan
(cherry picked from commit c9a981a1)
parent df228407
Loading
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -29,6 +29,7 @@ public function process(ContainerBuilder $container): void {
      $themeHookData = $container->getParameter('.theme_hook_data');
      $hookData = array_merge($hookData, $themeHookData);
      $hookData['preprocess_for_suggestions'] = array_merge($hookData['preprocess_for_suggestions'], $hookData['theme_preprocess_for_suggestions']);
      unset($hookData['theme_preprocess_for_suggestions']);
    }
    $keyvalue = $container->get('keyvalue')->get('hook_data');
    assert($keyvalue instanceof KeyValueStoreInterface);