1 redirect.install redirect_update_1002()

Enable config static caching.

File

core/modules/redirect/redirect.install, line 161
Install, update and uninstall functions for the Redirect module.

Code

function redirect_update_1002() {
  config('redirect.settings')
    ->set('_config_static', true)
    ->save();
}