Does disabling a module erase its settings?
"Disabling" a module means to disable its user interface aspects only.

This means:


All code of disabled modules remains to be loaded.
Services of disabled modules remain to be functional.
Routes, plugins, info hooks, etc. remain to be available.
Access to all data items that support any notion of access is denied for all users.


hook_enable(), hook_disable(), hook_modules_enabled(), hook_modules_disabled() are removed, without replacement.