Commit a477cf65 authored by catch's avatar catch
Browse files

task: #3556936 Outdated todo in EarlyRenderingControllerWrapperSubscriber

By: prudloff
By: longwave
(cherry picked from commit bc03d249)
parent aeec851c
Loading
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -139,9 +139,6 @@ protected function wrapControllerExecutionInRenderContext($controller, array $ar
      }
      elseif ($response instanceof AjaxResponse) {
        $response->addAttachments($early_rendering_bubbleable_metadata->getAttachments());
        // @todo Make AjaxResponse cacheable in
        //   https://www.drupal.org/node/956186. Meanwhile, allow contrib
        //   subclasses to be.
        if ($response instanceof CacheableResponseInterface) {
          $response->addCacheableDependency($early_rendering_bubbleable_metadata);
        }