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.
ajax.inc and many other files uses variable_get() / _set() of the setting 'theme_default' and requires change to the new configuration system.
Part of #1775842: [meta] Convert all variables to state and/or config systems
Comment | File | Size | Author |
---|---|---|---|
#2 | convert_theme_default_var-1876534-2.patch | 24.58 KB | lirantal |
Comments
Comment #1
lirantal CreditAttribution: lirantal commentedComment #2
lirantal CreditAttribution: lirantal commentedPatch for changing the theme_default setting across the entire code-base from relying on the variable_get() / variable_set() to the new configuration system.
Comment #3
lirantal CreditAttribution: lirantal commentedI wasn't sure about the snippet from system.install, whether or not it should be updated too:
Comment #4
lirantal CreditAttribution: lirantal commentedComment #6
dawehneryou can't have default values on config().
Comment #7
gddThis appears to be a duplicate of #1829224: Convert the 'theme_default' variable to CMI
Comment #7.0
gddupdated description of issue and the link to the meta-bug that tracks the configuration settings