original_string: public function edit_field_add($mform) {
          // Create the form field.
          $mform->addElement('editor', $this->inputname, format_string($this->field->name), null, null);
          $mform->setType($this->inputname, PARAM_RAW); // We MUST clean this before display!
      }
code: public function edit_field_add($mform) {
          // Create the form field.
          $mform->addElement('editor', $this->inputname, format_string($this->field->name), null, null);
          $mform->setType($this->inputname, PARAM_RAW); // We MUST clean this before display!
      }
code_tokens: public function edit_field_add ( $ mform ) { // Create the form field. $ mform -> addElement ( 'editor' , $ this -> inputname , format_string ( $ this -> field -> name ) , null , null ) ; $ mform -> setType ( $ this -> inputname , PARAM_RAW ) ; // We MUST clean this before display! }
docstring: Adds elements for this field type to the edit form.
  @param moodleform $mform
docstring_tokens: Adds elements for this field type to the edit form .