original_string: protected function define_definition_plugin_structure() {
  
          $paths = array();
  
          $paths[] = new restore_path_element('gradingform_guide_criterion',
              $this->get_pathfor('/guidecriteria/guidecriterion'));
  
          $paths[] = new restore_path_element('gradingform_guide_comment',
              $this->get_pathfor('/guidecomments/guidecomment'));
  
          // MDL-37714: Correctly locate frequent used comments in both the
          // current and incorrect old format.
          $paths[] = new restore_path_element('gradingform_guide_comment_legacy',
              $this->get_pathfor('/guidecriteria/guidecomments/guidecomment'));
  
          return $paths;
      }
code: protected function define_definition_plugin_structure() {
  
          $paths = array();
  
          $paths[] = new restore_path_element('gradingform_guide_criterion',
              $this->get_pathfor('/guidecriteria/guidecriterion'));
  
          $paths[] = new restore_path_element('gradingform_guide_comment',
              $this->get_pathfor('/guidecomments/guidecomment'));
  
          // MDL-37714: Correctly locate frequent used comments in both the
          // current and incorrect old format.
          $paths[] = new restore_path_element('gradingform_guide_comment_legacy',
              $this->get_pathfor('/guidecriteria/guidecomments/guidecomment'));
  
          return $paths;
      }
code_tokens: protected function define_definition_plugin_structure ( ) { $ paths = array ( ) ; $ paths [ ] = new restore_path_element ( 'gradingform_guide_criterion' , $ this -> get_pathfor ( '/guidecriteria/guidecriterion' ) ) ; $ paths [ ] = new restore_path_element ( 'gradingform_guide_comment' , $ this -> get_pathfor ( '/guidecomments/guidecomment' ) ) ; // MDL-37714: Correctly locate frequent used comments in both the // current and incorrect old format. $ paths [ ] = new restore_path_element ( 'gradingform_guide_comment_legacy' , $ this -> get_pathfor ( '/guidecriteria/guidecomments/guidecomment' ) ) ; return $ paths ; }
docstring: Declares the marking guide XML paths attached to the form definition element
  
  @return array of {@link restore_path_element}
docstring_tokens: Declares the marking guide XML paths attached to the form definition element