Commit fe749ea4 authored by catch's avatar catch

Issue #3150490 by jungle, pratik_kamble: Make the variable naming less...

Issue #3150490 by jungle, pratik_kamble: Make the variable naming less confusing in \Drupal\views\ViewExecutableFactory::get()
parent 6b587e63
......@@ -68,9 +68,9 @@ public function __construct(AccountInterface $user, RequestStack $request_stack,
* A ViewExecutable instance.
*/
public function get(ViewEntityInterface $view) {
$view = new ViewExecutable($view, $this->user, $this->viewsData, $this->routeProvider);
$view->setRequest($this->requestStack->getCurrentRequest());
return $view;
$view_executable = new ViewExecutable($view, $this->user, $this->viewsData, $this->routeProvider);
$view_executable->setRequest($this->requestStack->getCurrentRequest());
return $view_executable;
}
}
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