There is a constant in token.module which is only used once in a service. The service should really use a class constant instead of a define.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

hussainweb created an issue. See original summary.

hussainweb’s picture

Status: Active » Needs review
FileSize
1.39 KB

It's a simple change.

hussainweb’s picture

I forgot the conventions. Skipping the interdiff as the change is small enough to be reviewed in whole.

Berdir’s picture

Status: Needs review » Fixed

I think this would be useful as configuration instead of a hardcoded constant, but moving it makes sense.

  • Berdir committed b15c446 on 8.x-1.x authored by hussainweb
    Issue #2643546 by hussainweb: Remove define from token.module
    

Status: Fixed » Closed (fixed)

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