function aggregator_update_8000

Moves aggregator settings from variables to config.

Related topics

File

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

Code

function aggregator_update_8000() {
  update_variables_to_config('aggregator.settings', array(
    'aggregator_fetcher' => 'fetcher',
    'aggregator_parser' => 'parser',
    'aggregator_processors' => 'processors',
    'aggregator_allowed_html_tags' => 'items.allowed_html',
    'aggregator_teaser_length' => 'items.teaser_length',
    'aggregator_clear' => 'items.expire',
    'aggregator_summary_items' => 'source.list_max',
    'aggregator_category_selector' => 'source.category_selector',
  ));
}