public function getView($view)
{
$activeTheme = $this->getActive();
$parent = $this->getProperty($activeTheme . '::parent');
$views = ['theme' => $this->getThemeNamespace($view), 'parent' => $this->getThemeNamespace($view, $parent), 'module' => $this->getModuleView($view), 'base' => $view];
foreach ($views as $view) {
if ($this->viewFactory->exists($view)) {
return $view;
}
}
return false;
}