Name, $this->EscapedTitle, $this->Default); $this->doUpdateFormField($field); return $field; } /** * Updates a formfield with the additional metadata specified by this field * * @param FormField $field */ protected function updateFormField($field) { parent::updateFormField($field); $field->setAttribute('data-rule-email', true); } }