Core file and image fields have a file upload directory setting that supports global tokens only, so we need to add a UI to show what tokens are available.

Comments

moshe weitzman’s picture

Why only global tokens? When a field is being added/updated, it has access to all the entity info, right?

Also, this UI really should be core I think we should try, even at this late date.

dave reid’s picture

Fields do not have access to their entities (limitation of the field API). Furthermore, the UI still needs work and I wouldn't be happy if it got into core. It has some major accessibility problems that have to be fixed. Let's experiment with what works best in contrib and get it into D8.

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new2.5 KB
dave reid’s picture

Status: Needs review » Fixed

Committed #3 to CVS.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.