diff --git a/core/modules/jsonapi/jsonapi.services.yml b/core/modules/jsonapi/jsonapi.services.yml index 8a4c8feb3c..dda26726cd 100644 --- a/core/modules/jsonapi/jsonapi.services.yml +++ b/core/modules/jsonapi/jsonapi.services.yml @@ -115,7 +115,7 @@ services: # Cache. cache.jsonapi_resource_types: class: Drupal\Core\Cache\MemoryCache\MemoryCacheInterface - factory: memory_cache.factory + factory: memory_cache.factory:get arguments: ['jsonapi'] # We need this to add this to the Drupal's cache_tags.invalidator service. # This way it can invalidate the data in here based on tags.