Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291980

ImageItem normalizer should expose all public image style URLs

$
0
0

Problem/Motivation

This is a sister issue of #2517030: Add a URL formatter for the image field and #2825487: File entity should expose the file URL as a computed base field. The former issue solved it for image entities exposed via Views REST export displays. This issue must solve it at the serialization/normalization level, so that all REST resources (as well as JSON API) benefit.

The latter issue already is doing it for FileItem (and hence ImageItem because it extends FileItem), but only for the "canonical" file URL. In the case of ImageItem, we also want image style URLs.

Proposed resolution

Add ImageItemNormalizer.

Remaining tasks

TBD

User interface changes

None.

API changes

TBD

Data model changes

TBD


Viewing all articles
Browse latest Browse all 291980

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>