original_string: protected function get_display_text($tool, $text) {
          if ($tool->status != ENROL_INSTANCE_ENABLED) {
              return \html_writer::tag('span', $text, array('class' => 'dimmed_text'));
          }
  
          return $text;
      }
code: protected function get_display_text($tool, $text) {
          if ($tool->status != ENROL_INSTANCE_ENABLED) {
              return \html_writer::tag('span', $text, array('class' => 'dimmed_text'));
          }
  
          return $text;
      }
code_tokens: protected function get_display_text ( $ tool , $ text ) { if ( $ tool -> status != ENROL_INSTANCE_ENABLED ) { return \ html_writer :: tag ( 'span' , $ text , array ( 'class' => 'dimmed_text' ) ) ; } return $ text ; }
docstring: Returns text to display in the columns.
  
  @param \stdClass $tool the tool
  @param string $text the text to alter
  @return string
docstring_tokens: Returns text to display in the columns .