function system_update_8035

Move filter_allowed_protocols variable to config.

This config is provided now by the system module because it is used by drupal_strip_dangerous_protocols() and must to be available before the filter module be installed.

Related topics

File

drupal/core/modules/system/system.install, line 1775
Install, update and uninstall functions for the system module.

Code

function system_update_8035() {
  update_variables_to_config('system.filter', array(
    'filter_allowed_protocols' => 'protocols',
  ));
}