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.
Note: This issue is being posted here as an exercise by a participant in the http://drupalladder.org ladder for contributing to core. Please don't do anything with this post. The real issue has already been resolved. If you would like to try this exercise yourself, visit http://drupalladder.org and click on Drupal Ladder.
Current:
The statistics module settings (admin/config/system/statistics) need to be converted to use the new configuration system.
Proposed:
Tasks
- Create a default config file and add it to the statistics module.
- Convert the admin UI in statistics.admin.inc to read to/write from the appropriate config.
- Convert any code that currently accesses the variables used to use the config system.
- Write an upgrade path from D7 -> D8 to migrate existing data to the new system and drop the appropriate variables.
Comment | File | Size | Author |
---|---|---|---|
1497310-statistics_config_settings-5.patch | 19.4 KB | chiranjeeb2410 | |
1497310-71_patchReroll.patch | 21.4 KB | chiranjeeb2410 | |
interdiff_623.txt | 574 bytes | chiranjeeb2410 |
Comments
Comment #2
chiranjeeb2410 CreditAttribution: chiranjeeb2410 commentedRe-rolled the original patch to apply to a later version of Drupal.
Comment #3
mallezie