/** * register asset */ public function init() { $view = $this->getView(); $bundle = LobiboxAsset::register($view); if (!$this->soundPath) { $this->soundPath = $bundle->baseUrl . '/sounds/'; } $this->overrideConfirm(); parent::init(); }