Hello,

is there a solution or could we add new tokens for build the filename / path ?
I need to use a date token and the name of the display in my filename.

Thanks for your reply.

CommentFileSizeAuthor
#2 vde-2972220-2.patch508 bytesjibran
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kumkum29 created an issue. See original summary.

jibran’s picture

Title: Tokens remplacements in the filename + Date + Display name » Allow date tokens replacements in the filename
Version: 8.x-1.0-beta1 » 8.x-1.x-dev
Category: Support request » Feature request
Status: Active » Needs review
FileSize
508 bytes

Here is the patch to add date support. I think the display name can be hard coded.

dpi’s picture

Issue tags: +Needs tests
jhedstrom’s picture

Is there any reason not to add this to core's PluginBase?

jibran’s picture

Because it is a quick fix here. We can create a follow-up issue in core queue and add a @todo here.

  • jhedstrom committed be9c86d on 8.x-1.x authored by jibran
    Issue #2972220 by jibran: Allow date tokens replacements in the filename
    
jhedstrom’s picture

Status: Needs review » Fixed

Makes sense to me. Thanks!

Status: Fixed » Closed (fixed)

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