/** * {@inheritDoc} */ public function toHtml() { if ($this->render) { return parent::toHtml(); } $label = isset($this->label) ? (string) $this->label : ''; return "{$this->input} {$label} {$this->errorLabel}"; }