public function prepareRenderingAsView() { parent::prepareRenderingAsView(); $this->getElement(self::ELEMENT_VISIBILITY)->removeDecorator('Label'); }