original_string: protected function unit_group($mform) {
          $grouparray = array();
          $grouparray[] = $mform->createElement('text', 'unit', get_string('unit', 'qtype_numerical'), array('size'=>10));
          $grouparray[] = $mform->createElement('float', 'multiplier',
                  get_string('multiplier', 'qtype_numerical'), array('size'=>10));
  
          return $grouparray;
      }
code: protected function unit_group($mform) {
          $grouparray = array();
          $grouparray[] = $mform->createElement('text', 'unit', get_string('unit', 'qtype_numerical'), array('size'=>10));
          $grouparray[] = $mform->createElement('float', 'multiplier',
                  get_string('multiplier', 'qtype_numerical'), array('size'=>10));
  
          return $grouparray;
      }
code_tokens: protected function unit_group ( $ mform ) { $ grouparray = array ( ) ; $ grouparray [ ] = $ mform -> createElement ( 'text' , 'unit' , get_string ( 'unit' , 'qtype_numerical' ) , array ( 'size' => 10 ) ) ; $ grouparray [ ] = $ mform -> createElement ( 'float' , 'multiplier' , get_string ( 'multiplier' , 'qtype_numerical' ) , array ( 'size' => 10 ) ) ; return $ grouparray ; }
docstring: Get the form fields needed to edit one unit.
  @param MoodleQuickForm $mform the form being built.
  @return array of form fields.
docstring_tokens: Get the form fields needed to edit one unit .