original_string: protected function display_content($question, $rowclasses) {
          if (\core_tag_tag::is_enabled('core_question', 'question') &&
                  question_has_capability_on($question, 'view')) {
  
              $cantag = question_has_capability_on($question, 'tag');
              $qbank = $this->qbank;
              $url = new \moodle_url($qbank->edit_question_url($question->id));
              $editingcontext = $qbank->get_most_specific_context();
  
              $this->print_tag_icon($question->id, $url, $cantag, $editingcontext->id);
          }
      }
code: protected function display_content($question, $rowclasses) {
          if (\core_tag_tag::is_enabled('core_question', 'question') &&
                  question_has_capability_on($question, 'view')) {
  
              $cantag = question_has_capability_on($question, 'tag');
              $qbank = $this->qbank;
              $url = new \moodle_url($qbank->edit_question_url($question->id));
              $editingcontext = $qbank->get_most_specific_context();
  
              $this->print_tag_icon($question->id, $url, $cantag, $editingcontext->id);
          }
      }
code_tokens: protected function display_content ( $ question , $ rowclasses ) { if ( \ core_tag_tag :: is_enabled ( 'core_question' , 'question' ) && question_has_capability_on ( $ question , 'view' ) ) { $ cantag = question_has_capability_on ( $ question , 'tag' ) ; $ qbank = $ this -> qbank ; $ url = new \ moodle_url ( $ qbank -> edit_question_url ( $ question -> id ) ) ; $ editingcontext = $ qbank -> get_most_specific_context ( ) ; $ this -> print_tag_icon ( $ question -> id , $ url , $ cantag , $ editingcontext -> id ) ; } }
docstring: Display tags column content.
  
  @param object $question The question database record.
  @param string $rowclasses
docstring_tokens: Display tags column content .