1 update.install update_update_1002()

Enable static caching for update settings configuration file.

Related topics

File

core/modules/update/update.install, line 215
Install, update, and uninstall functions for the Update Manager module.

Code

function update_update_1002() {
  $config = config('update.settings');
  $config->set('_config_static', true);
  $config->save();
}