function ViewExecutableFactoryWrapper::get

File

webprofiler/src/Views/ViewExecutableFactoryWrapper.php, line 33

Class

ViewExecutableFactoryWrapper
Class ViewExecutableFactoryWrapper

Namespace

Drupal\webprofiler\Views

Code

public function get(ViewEntityInterface $view) {
    $view_executable = new TraceableViewExecutable($view, $this->user, $this->viewsData, $this->routeProvider);
    $view_executable->setRequest($this->requestStack
        ->getCurrentRequest());
    $this->views[] = $view_executable;
    return $view_executable;
}