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.
I'm using token_insert in conjunction with token_custom and token_filter to allow users to create custom tokens and insert them in text. I found it inconvenient to have to enable a new token for insertion each time one is created. Will attach a patch.
Comment | File | Size | Author |
---|---|---|---|
#1 | token_insert-allow_all_tokens_per_category-1776932-1.patch | 3.71 KB | acrollet |
Comments
Comment #1
acrollet CreditAttribution: acrollet commentedAttached patch adds a 'all tokens' checkbox per category, and hides the individual tokens when checked.
Comment #2
Jelle_SThanks for the great patch! committed to latest dev
Comment #4
John Franklin CreditAttribution: John Franklin commentedIs it possible to enable for all tokens in all categories, or do I have to enable it in each category manually?
Comment #5
delacosta456 CreditAttribution: delacosta456 commentedHi
Please is it possible to have token listed as a select list box please?