paragraph type getIconUrl() is broken if site is in a subfolder

Created on 2 July 2025, about 1 month ago

Problem/Motivation

ParagraphsType::getIconUrl() returns absolute URLs without the domain, e.g.:

> /sites/default/files/paragraphs_type_icon/text_block-default-icon.svg

This results in broken images on a site that is installed in a subfolder.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

User interface

Created by

🇬🇧United Kingdom joachim

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024