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.
File (and image) field settings page includes full token tree if the module is installed. Loading such page can take minutes if token tree is huge. I suggest to show token tree in a popup dialog if Token module is installed. This requires to add '#dialog' => TRUE array item to token tree form element.
Comments
Comment #2
Deciphered CreditAttribution: Deciphered commentedYes, completely intend to do that, but feel free to roll a patch.
Main thing to remember is that it should be removed from the current fieldset as well, as it makes no sense to expand a fieldset to click a link that opens the token browser in a modal dialog.
Comment #3
Deciphered CreditAttribution: Deciphered commentedUpdating to a feature request.
Comment #5
Deciphered CreditAttribution: Deciphered commentedDone.