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

Tokens not replaced in file/widget field descriptions

$
0
0

Problem/Motivation

Tokens are supported in field descriptions and it works correctly for more fields. For file/image widgets, the tokens are not replaced. I am marking it as major because tokens could be used to communicate important information and there is no workaround. Please change the priority if relevant.

To reproduce:

  • Go to Structure -> Content Types -> Article -> Manage Fields -> Image on a plain Drupal 8 site (such as simplytest.me).
  • Type a token such as '[site:name]' in the Help text box.
  • Go to Create Content -> Article, the token in description is not replaced.
  • Repeat the steps for another field such as body. The token is replaced.
  • The token is not replaced on both file and image widgets regardless of cardinality.

Proposed resolution

Fix the bug.

Remaining tasks

Patch, review, and apply

User interface changes

None, except the tokens will work now.

API changes

None

Data model changes

None


Viewing all articles
Browse latest Browse all 295674


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