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.
We should notify the user when he wants to use a plugin but has no tokens defined for it.
I will attach a patch that provides the three plugins with the validation.
Comment | File | Size | Author |
---|---|---|---|
#9 | menu_token-extra_validation_for_plugins-2827674-9.patch | 8.44 KB | DevElCuy |
#6 | menu_token-extra_validation_for_plugins-2827674-6.patch | 8.43 KB | alexverb |
Comments
Comment #2
alexverb CreditAttribution: alexverb as a volunteer commentedHere you go.
Comment #3
alexverb CreditAttribution: alexverb as a volunteer commentedDid small change to error message and reset file permissions right.
Comment #4
alexverb CreditAttribution: alexverb as a volunteer commentedSry guys, another fix for the error message (entity type label)
Comment #5
alexverb CreditAttribution: alexverb as a volunteer commentedHmmm looking at the patch it may be a good idea to refractor and remove duplicated code to helper functions.
Comment #6
alexverb CreditAttribution: alexverb as a volunteer commentedI have restructured the classes for this added feature. Cleaner this way.
Comment #7
alexverb CreditAttribution: alexverb as a volunteer commentedHiding obsolete patches.
Comment #8
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedThis is a big one @alexverb, much thanks!
Comment #9
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedUp to date patch (against current source code).
Comment #11
DevElCuy CreditAttribution: DevElCuy at Dilygent commentedGood job @alexverb!