Allow Token in Media Text

Created on 9 January 2025, about 2 months ago

Problem/Motivation

Would like to be able to use token such as the name of the node in the Media Text field

Steps to reproduce

Edit field display for a file field.
Under Media Configurations choose "Override media name with custom text"
In "Fixed text for media" add the following:
Download [node:title]

Proposed resolution

Apply this patch.

Remaining tasks

Test the patch.

User interface changes

? Possibly add help text "Supports tokens"

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States liberatr Portland, OR

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