1.20.x taxonomy.install | taxonomy_update_1007() |
Move default taxonomy term view to taxonomy module.
Related topics
File
- modules/
taxonomy/ taxonomy.install, line 351 - 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();
}
}