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.
While implementing and testing #2622950: Allow suggestions to be altered I ran into difficulties to differentiate match modes. "1 = ehm, what was it again?" ;)
A welcome solution is using defines/constants to identify them easily.
Comment | File | Size | Author |
---|---|---|---|
#2 | use_constants-2622996-2.patch | 2.72 KB | MrHaroldA |
Comments
Comment #2
MrHaroldA CreditAttribution: MrHaroldA commentedHere's a patch that changes all match assignments and lookups to constants.
Comment #3
MrHaroldA CreditAttribution: MrHaroldA commentedComment #4
colemanw CreditAttribution: colemanw as a volunteer commentedThanks for the patch.