public static function addSettingsFormFields(QuickForm $form)
 {
     $form->addElement('text', 'pattern', array('label' => 'Regex pattern', 'required' => true));
     $form->addElement('text', 'replacement', array('label' => 'Replacement', 'required' => true));
     return $form;
 }
 public static function addSettingsFormFields(QuickForm $form)
 {
     $form->addElement('text', 'domain', array('label' => 'Domain name', 'description' => 'Domain to be replaced', 'required' => true));
     return $form;
 }