function views_post_update_field_formatter_dependencies

Include field formatter dependencies in a view when the formatter is used.

File

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

Code

function views_post_update_field_formatter_dependencies() {
    $views = View::loadMultiple();
    array_walk($views, function (View $view) {
        $view->save();
    });
}

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