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

Issue #2002872 by heddn: Rename Views method instantiate_view() to instantiateView().

parent 07e3ccbd
No related branches found
No related tags found
No related merge requests found
......@@ -617,7 +617,7 @@ protected function buildSorts(&$form, &$form_state) {
* @return Drupal\views_ui\ViewUI
* The instantiated view UI object.
*/
protected function instantiate_view($form, &$form_state) {
protected function instantiateView($form, &$form_state) {
// Build the basic view properties and create the view.
$values = array(
'id' => $form_state['values']['id'],
......@@ -1150,7 +1150,7 @@ protected function setValidatedView(array $form, array &$form_state, ViewUI $vie
* Instantiates the view from the form submission and validates its values.
*/
public function validateView(array $form, array &$form_state) {
$view = $this->instantiate_view($form, $form_state);
$view = $this->instantiateView($form, $form_state);
$errors = $view->get('executable')->validate();
if (empty($errors)) {
......
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