/** * Check widget visibility * * @return boolean */ protected function isVisible() { return parent::isVisible() && (bool) $this->getMessages(); }
/** * Check widget visibility * * @return boolean */ protected function isVisible() { return parent::isVisible() && (bool) $this->getUpgradeNotes(); }