public function getView() { $view = $this->view->make($this->getLayout(), $this->getAssets()); $this->addDefaultAssets($view); $this->addCustomLess($view); $this->addTranslations($view); return $view; }
/** * {@inheritdoc} */ public function getView() { $view = parent::getView(); $view->getJs()->addString(function () { return $this->formatter->getJs(); }); return $view; }