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.
Problem/Motivation
All of the functions in config.inc are deprecated.
Postponed on #2188595: Create a ConfigManager to be able to remove config.inc
Proposed resolution
Remove usages of these functions and remove config.inc inclusion
Remaining tasks
Write patch
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#7 | 2192693.7.patch | 35.1 KB | swentel |
#5 | 2192693.5.patch | 33.4 KB | swentel |
#4 | 2-4-interdiff.txt | 3.29 KB | alexpott |
#4 | 2192693.4.patch | 32.35 KB | alexpott |
#2 | 2192693.2.patch | 28.61 KB | alexpott |
Comments
Comment #1
alexpott#2188595: Create a ConfigManager to be able to remove config.inc is in.
Comment #2
alexpottRemoving all the usages of
config()
,config_typed()
,config_get_storage_names_with_prefix()
Comment #4
alexpottOkay abstract static interesting-ness... fixed.
Removed config.inc and created https://github.com/drush-ops/drush/pull/463 to ensure Drush will continue to work.
Comment #5
swentel CreditAttribution: swentel commentedrerolled
Comment #7
swentel CreditAttribution: swentel commentedurgh
Comment #8
BerdirThis looks good. config_typed() has no helper method, but it's only very rarely used so that's fine.
Comment #9
webchickCommitted and pushed to 8.x. Thanks!
https://drupal.org/node/2193603 needs an update.