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.

CommentFileSizeAuthor
#2 use_constants-2622996-2.patch2.72 KBMrHaroldA
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

MrHaroldA created an issue. See original summary.

MrHaroldA’s picture

Here's a patch that changes all match assignments and lookups to constants.

MrHaroldA’s picture

Status: Active » Needs review
colemanw’s picture

Status: Needs review » Fixed

Thanks for the patch.

  • colemanw committed 415e074 on 7.x-2.x authored by MrHaroldA
    Issue #2622996 by MrHaroldA: Use constants for matching mode
    

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.