Use relative url if bundle type is 'file'.

Created on 11 April 2024, 12 months ago
Updated 12 April 2024, 12 months ago

Problem/Motivation

As stated on the module page, "Only canonical entities can be inserted."
It would be wonderful to use relative paths for files.

Steps to reproduce

Add a link using this module and see the path remains media/{id}

Proposed resolution

Add some logic that checks the bundle type for "file" and generate a relative path.

Remaining tasks

Maybe add some config to make this an option;
possibly take other types in to consideration.

User interface changes

None yet, but could add a config to enable this making it optional.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States cbfannin

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

Comments & Activities

Production build 0.71.5 2024