From 4c285fefdd2d83ff4e38e57e8390c471eabf88a9 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Wed, 6 Aug 2014 10:19:15 +0100
Subject: [PATCH] Issue #2315695 by a_thakur: Remove views_get_view().

---
 core/modules/views/views.module | 16 ----------------
 1 file changed, 16 deletions(-)

diff --git a/core/modules/views/views.module b/core/modules/views/views.module
index d1979df5afbf..3294836f33b3 100644
--- a/core/modules/views/views.module
+++ b/core/modules/views/views.module
@@ -787,22 +787,6 @@ function views_disable_view(View $view) {
   $view->disable()->save();
 }
 
-/**
- * Loads a view from configuration.
- *
- * @param string $name
- *   The name of the view.
- *
- * @return \Drupal\views\ViewExecutable
- *   A reference to the $view object.
- *
- * @deprecated in Drupal 8.x-dev, will be removed before Drupal 8.0.
- *   Use \Drupal\views\Views::getView().
- */
-function views_get_view($name) {
-  return Views::getView($name);
-}
-
 /**
  * Replaces views substitution placeholders.
  *
-- 
GitLab