public function render(ElementInterface $element) { if ($element->getOption('static')) { return $this->getView()->formElementStatic($element); } return parent::render($element); }