Additional image attributes

Created on 25 October 2022, about 2 years ago
Updated 30 September 2024, about 2 months ago

Problem/Motivation

To provide additional tokens for image attributes such as MIME type, file size, width, height, URI, and URL, default to URL for backward compatibility.

Remaining tasks

  • tests

User interface changes

None.

API changes

ImageBuilderInterface::build(EntityReferenceRevisionsFieldItemList $paragraphs_field, ImageStyleInterface $image_style = NULL, string $property_name = NULL) will take in additional $property_name.

Data model changes

None.

Feature request
Status

Needs review

Version

2.0

Component

Code

Created by

🇲🇾Malaysia ckng

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024