original_string: public function definition() {
          $mform = $this->_form;
  
          $workshop = $this->_customdata['workshop'];
  
          $mform->addElement('header', 'general', get_string('evaluationsettings', 'mod_workshop'));
  
          $this->definition_sub();
  
          $mform->addElement('submit', 'submit', get_string('aggregategrades', 'workshop'));
      }
code: public function definition() {
          $mform = $this->_form;
  
          $workshop = $this->_customdata['workshop'];
  
          $mform->addElement('header', 'general', get_string('evaluationsettings', 'mod_workshop'));
  
          $this->definition_sub();
  
          $mform->addElement('submit', 'submit', get_string('aggregategrades', 'workshop'));
      }
code_tokens: public function definition ( ) { $ mform = $ this -> _form ; $ workshop = $ this -> _customdata [ 'workshop' ] ; $ mform -> addElement ( 'header' , 'general' , get_string ( 'evaluationsettings' , 'mod_workshop' ) ) ; $ this -> definition_sub ( ) ; $ mform -> addElement ( 'submit' , 'submit' , get_string ( 'aggregategrades' , 'workshop' ) ) ; }
docstring: Defines the common form fields.
docstring_tokens: Defines the common form fields .