/** * {@inheritdoc} */ public function render() { $this->data['widgetOptions'] = $this->widgetOptions->count() ? $this->widgetOptions->render() : null; return parent::render(); }
/** * @return string */ public function render() { return $this->element->render() . $this->options->render(); }