original_string: public function render_display_index_heading($linktext, $listquestionurl) {
          $output = '';
  
          $output .= $this->heading(get_string('questionsthatneedgrading', 'quiz_grading'), 3);
          $output .= html_writer::tag('p', html_writer::link($listquestionurl, $linktext), ['class' => 'toggleincludeauto']);
  
          return $output;
      }
code: public function render_display_index_heading($linktext, $listquestionurl) {
          $output = '';
  
          $output .= $this->heading(get_string('questionsthatneedgrading', 'quiz_grading'), 3);
          $output .= html_writer::tag('p', html_writer::link($listquestionurl, $linktext), ['class' => 'toggleincludeauto']);
  
          return $output;
      }
code_tokens: public function render_display_index_heading ( $ linktext , $ listquestionurl ) { $ output = '' ; $ output .= $ this -> heading ( get_string ( 'questionsthatneedgrading' , 'quiz_grading' ) , 3 ) ; $ output .= html_writer :: tag ( 'p' , html_writer :: link ( $ listquestionurl , $ linktext ) , [ 'class' => 'toggleincludeauto' ] ) ; return $ output ; }
docstring: Render index display.
  
  @param string $linktext The text of the link.
  @param moodle_url $listquestionurl Url of the page that list all questions.
  @return string The HTML for the display heading.
  @throws coding_exception
docstring_tokens: Render index display .