Closed (fixed)
Project:
Drupal core
Version:
8.0.x-dev
Component:
configuration system
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 Aug 2012 at 09:46 UTC
Updated:
7 Feb 2015 at 02:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
aspilicious commentedtry this:
$conf['system.site']['name'] = 'My Drupal site'
Comment #2
aspilicious commentedTried it myself, it works and we have tests for this ;)
Comment #3
webchickOh, well that makes sense. However, there's still a bug here. But now it's normal and novice. :)
Comment #4
webchickYou can find this documentation in sites/default/default.settings.php.
Comment #5
albert volkman commentedHere ya go.
Comment #6
aspilicious commentedI would like to change all the examples once the conversion is done. Most of these will change in the near future.
Comment #7
cobadger commentedI applied the patch, removed the leading hash tag in front of:
$conf['system.site']['name'] = 'My Drupal site';
Cleared caches and reloaded the page; site name did not change and I don't see a row in 'variable' table in db for site name.
Didn't work for me.
Comment #8
jfhovinne commented@jordanlgraham: I think you need to apply the patch before installing Drupal.
Applied the patch to current 8.x-dev; installed Drupal; uncommented
$conf['system.site']['name'] = 'My Drupal site';in settings.php; the site name is correctly updated to "Welcome to My Drupal site", so the example is ok.Comment #9
webchickAwesome!
Committed and pushed to 8.x as a stop-gap. Agreed that we're going to need to update this as further conversions take place, however. Probably makes sense to postpone this for now on #1775842: [meta] Convert all variables to state and/or config systems.
Comment #10
mgiffordOk, so #2167109: Remove Variable subsystem replaced #1775842: [meta] Convert all variables to state and/or config systems so can this be closed or are there further conversions that need to take place?
Comment #11
jhodgdonIf this is still valid, it seems like it is base config system, not Configuration Manager module?
Comment #12
mgiffordCurrently, without the patch it's
# $config['system.site']['name'] = 'My Drupal site';so I'm marking this closed.