function taxonomy_post_update_set_new_revision

Re-save Taxonomy configurations with new_revision config.

File

core/modules/taxonomy/taxonomy.post_update.php, line 29

Code

function taxonomy_post_update_set_new_revision(&$sandbox = NULL) {
    \Drupal::classResolver(ConfigEntityUpdater::class)->update($sandbox, 'taxonomy_vocabulary', function () {
        return TRUE;
    });
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.