Disable LinkCollectionNormalizer from UI

Created on 5 September 2024, 3 months ago

Problem/Motivation

Hey guys, is it possible to implement a feature allowing to disable the LinkCollectionNormalizer (file--file -> links) directly from the UI?

I have a lot of image styles and a lot of images on my Drupal site. Moreover, I'm creating pages with paragraphs and almost each paragraph has an image field. It makes my node--page JSON:API responses much bigger with a lot of data I don't need.

I have a custom workaround (local patch) in use currently, which is removing the serializer.normalizer.link_collection.consumer_image_styles service from the consumer_image_styles.services.yml file, but it would be great if this normalizer was optional and possible to disable from the UI. Cheers!

Feature request
Status

Active

Version

4.0

Component

User interface

Created by

🇵🇱Poland tivi22

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024