original_string: public function section_remove_icon($section) {
          $title = get_string('sectionheadingremove', 'quiz', $section->heading);
          $url = new \moodle_url('/mod/quiz/edit.php',
                  array('sesskey' => sesskey(), 'removesection' => '1', 'sectionid' => $section->id));
          $image = $this->pix_icon('t/delete', $title);
          return $this->action_link($url, $image, null, array(
                  'class' => 'cm-edit-action editing_delete', 'data-action' => 'deletesection'));
      }
code: public function section_remove_icon($section) {
          $title = get_string('sectionheadingremove', 'quiz', $section->heading);
          $url = new \moodle_url('/mod/quiz/edit.php',
                  array('sesskey' => sesskey(), 'removesection' => '1', 'sectionid' => $section->id));
          $image = $this->pix_icon('t/delete', $title);
          return $this->action_link($url, $image, null, array(
                  'class' => 'cm-edit-action editing_delete', 'data-action' => 'deletesection'));
      }
code_tokens: public function section_remove_icon ( $ section ) { $ title = get_string ( 'sectionheadingremove' , 'quiz' , $ section -> heading ) ; $ url = new \ moodle_url ( '/mod/quiz/edit.php' , array ( 'sesskey' => sesskey ( ) , 'removesection' => '1' , 'sectionid' => $ section -> id ) ) ; $ image = $ this -> pix_icon ( 't/delete' , $ title ) ; return $ this -> action_link ( $ url , $ image , null , array ( 'class' => 'cm-edit-action editing_delete' , 'data-action' => 'deletesection' ) ) ; }
docstring: Render an icon to remove a section from the quiz.
  
  @param object $section the section to be removed.
  @return string HTML to output.
docstring_tokens: Render an icon to remove a section from the quiz .