Disables and saves a view.
Drupal\views\Plugin\Core\Entity\View $view: The View object to disable.
function views_disable_view(View $view) { $view ->disable() ->save(); }