setIgnore(true); $this->getView()->addHelperPath('App/Twitter/Admin/View/Helper', 'App\Twitter\Admin\View\Helper'); parent::init(); } public function loadDefaultDecorators() { if ($this->loadDefaultDecoratorsIsDisabled()) { return $this; } parent::loadDefaultDecorators(); $decorators = $this->getDecorators(); /** @var \Zend_Form_Decorator_ViewHelper $viewHelper */ $viewHelper = reset($decorators); $viewHelper->setHelper('twitterAuth'); return $this; } }