質問

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?

役に立ちましたか?

解決

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.

他のヒント

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

drush sset system.maintenance_mode 0
drush cr
ライセンス: CC-BY-SA帰属
所属していません drupal.stackexchange
scroll top