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;
    }
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;
    }
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 ; }
Declares the marking guide XML paths attached to the form definition element

@return array of {@link restore_path_element}
Declares the marking guide XML paths attached to the form definition element