function views_post_update_remove_core_key

Remove core key from views configuration.

File

core/modules/views/views.post_update.php, line 382

Code

function views_post_update_remove_core_key(&$sandbox = NULL) {
    \Drupal::classResolver(ConfigEntityUpdater::class)->update($sandbox, 'view', function () {
        // Re-save all views.
        return TRUE;
    });
}

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