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.
Problem/Motivation
The default token used for titles on generated content - [file:name] - is useful but would often be improved through some basic conversion, e.g., a more appropriate title for
pink-house.jpg
would be
Pink house
Proposed resolution
- Add a configuration option (checkbox) to convert titles.
- If the setting is enabled, drop extension, replace _ and - with space, and convert to sentence case.
Comments
Comment #1
erikhopp CreditAttribution: erikhopp commentedThis sounds like a transliteration filter.
Also, it might be useful to have the title respect auto node title settings, if they are present.
Erik.