Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By mcdruid on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
7.x
Introduced in version:
7.83
Issue links:
Description:
D7 now has a default upload directory for file fields based on the date:
'file_directory' => '[date:custom:Y]-[date:custom:m]',
Files uploaded to fields using this default will be saved to a location like:
public://2021-11/filename.jpg
Existing fields should not be affected.
Impacts:
Site builders, administrators, editors
Module developers
Themers
Distribution developers