original_string: public function question_remove_icon(structure $structure, $slot, $pageurl) {
          $url = new \moodle_url($pageurl, array('sesskey' => sesskey(), 'remove' => $slot));
          $strdelete = get_string('delete');
  
          $image = $this->pix_icon('t/delete', $strdelete);
  
          return $this->action_link($url, $image, null, array('title' => $strdelete,
                      'class' => 'cm-edit-action editing_delete', 'data-action' => 'delete'));
      }
code: public function question_remove_icon(structure $structure, $slot, $pageurl) {
          $url = new \moodle_url($pageurl, array('sesskey' => sesskey(), 'remove' => $slot));
          $strdelete = get_string('delete');
  
          $image = $this->pix_icon('t/delete', $strdelete);
  
          return $this->action_link($url, $image, null, array('title' => $strdelete,
                      'class' => 'cm-edit-action editing_delete', 'data-action' => 'delete'));
      }
code_tokens: public function question_remove_icon ( structure $ structure , $ slot , $ pageurl ) { $ url = new \ moodle_url ( $ pageurl , array ( 'sesskey' => sesskey ( ) , 'remove' => $ slot ) ) ; $ strdelete = get_string ( 'delete' ) ; $ image = $ this -> pix_icon ( 't/delete' , $ strdelete ) ; return $ this -> action_link ( $ url , $ image , null , array ( 'title' => $ strdelete , 'class' => 'cm-edit-action editing_delete' , 'data-action' => 'delete' ) ) ; }
docstring: Render an icon to remove a question from the quiz.
  
  @param structure $structure object containing the structure of the quiz.
  @param int $slot the first slot on the page we are outputting.
  @param \moodle_url $pageurl the canonical URL of the edit page.
  @return string HTML to output.
docstring_tokens: Render an icon to remove a question from the quiz .