Skip to content
Snippets Groups Projects
Commit 4c285fef authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2315695 by a_thakur: Remove views_get_view().

parent f6b7dd35
No related branches found
No related tags found
No related merge requests found
......@@ -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.
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment