By default Drupal stores all configuration into database. Below example shows how to remove / delete configuration object of 'automated_cron.settings', i.e. remove cron settings.
Modules are used to extend and customize Drupal Core. To install module normally we can navigate to "Admin => Extend" link in toolbar.
Like older versions of Drupal, Drupal 8 doesn't allow modules to be enable / disable.
In Drupal 8, the Site Maintenance status is stored in State API.
To put Site in Maintenance mode or to get Site out of Maintenance mode, we can use following code snippet: