Commit 4c285fef authored by alexpott's avatar alexpott

Issue #2315695 by a_thakur: Remove views_get_view().

parent f6b7dd35
......@@ -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.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment