public function extend_settings_navigation(settings_navigation $settingsnav, navigation_node $node=null) {
        $node->add(get_string('definemarkingguide', 'gradingform_guide'),
            $this->get_editor_url(), settings_navigation::TYPE_CUSTOM,
            null, null, new pix_icon('icon', '', 'gradingform_guide'));
    }
public function extend_settings_navigation(settings_navigation $settingsnav, navigation_node $node=null) {
        $node->add(get_string('definemarkingguide', 'gradingform_guide'),
            $this->get_editor_url(), settings_navigation::TYPE_CUSTOM,
            null, null, new pix_icon('icon', '', 'gradingform_guide'));
    }
public function extend_settings_navigation ( settings_navigation $ settingsnav , navigation_node $ node = null ) { $ node -> add ( get_string ( 'definemarkingguide' , 'gradingform_guide' ) , $ this -> get_editor_url ( ) , settings_navigation :: TYPE_CUSTOM , null , null , new pix_icon ( 'icon' , '' , 'gradingform_guide' ) ) ; }
Extends the module settings navigation with the guide grading settings

This function is called when the context for the page is an activity module with the
FEATURE_ADVANCED_GRADING, the user has the permission moodle/grade:managegradingforms
and there is an area with the active grading method set to 'guide'.

@param settings_navigation $settingsnav {@link settings_navigation}
@param navigation_node $node {@link navigation_node}
Extends the module settings navigation with the guide grading settings