1 taxonomy.install taxonomy_update_1004()

Convert taxonomy terms per page to config.

Related topics

File

core/modules/taxonomy/taxonomy.install, line 317
Install, update and uninstall functions for the taxonomy module.

Code

function taxonomy_update_1004() {
  $config = config('taxonomy.settings');
  $config->set('terms_per_page_admin', update_variable_get('taxonomy_terms_per_page_admin', 100));
  $config->save();

  update_variable_del('taxonomy_terms_per_page_admin');
}