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.
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.
Comment | File | Size | Author |
---|---|---|---|
#3 | remove_define_from-2643546-3.patch | 1.4 KB | hussainweb |
|
Comments
Comment #2
hussainwebIt's a simple change.
Comment #3
hussainwebI forgot the conventions. Skipping the interdiff as the change is small enough to be reviewed in whole.
Comment #4
BerdirI think this would be useful as configuration instead of a hardcoded constant, but moving it makes sense.