1 taxonomy.install taxonomy_update_1007()

Move default taxonomy term view to taxonomy module.

Related topics

File

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

Code

function taxonomy_update_1007() {
  // If the views config has not been deleted, update it's module.
  $config = config('views.view.taxonomy_term');
  if (!$config->isNew()) {
    $config->set('module', 'taxonomy');
    $config->save();
  }
}