Does disabling a module erase its settings? This is kind of a basic question that I can't find the answer to in the Googles. In the process of debugging, I know disabling modules is a good start but I'd like to be able to go back and turn them on without losing any pre-configured 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.