Question

I know the maintenance mode value used to be in the variables table, but in D8 that table is replaced by (or joined with) the config table, but I couldn't find any row with that name.

Where is it located now?

Was it helpful?

Solution

It's no longer a part of the config system; it's a part of the state system which is stored in the key_value table as a part of the state collection.

OTHER TIPS

An alternative (depending on your use case) is to use drush:

drush sset system.maintenance_mode 0
drush cr
Licensed under: CC-BY-SA with attribution
Not affiliated with drupal.stackexchange
scroll top