diff --git a/core/modules/views/src/Ajax/ViewAjaxResponse.php b/core/modules/views/src/Ajax/ViewAjaxResponse.php index 01ce19b179..af265aaa32 100644 --- a/core/modules/views/src/Ajax/ViewAjaxResponse.php +++ b/core/modules/views/src/Ajax/ViewAjaxResponse.php @@ -3,6 +3,7 @@ namespace Drupal\views\Ajax; use Drupal\Core\Ajax\AjaxResponse; +use Drupal\Core\Cache\CacheableResponseInterface; use Drupal\views\ViewExecutable; use Drupal\Core\Cache\CacheableResponseTrait; @@ -11,7 +12,7 @@ * * We use a special response object to be able to fire a proper alter hook. */ -class ViewAjaxResponse extends AjaxResponse { +class ViewAjaxResponse extends AjaxResponse implements CacheableResponseInterface { use CacheableResponseTrait;