original_string: public static function render_tourname_inplace_editable(tour $tour) {
          return new \core\output\inplace_editable(
                  'tool_usertours',
                  'tourname',
                  $tour->get_id(),
                  true,
                  \html_writer::link(
                      $tour->get_view_link(),
                      $tour->get_name()
                  ),
                  $tour->get_name()
              );
      }
code: public static function render_tourname_inplace_editable(tour $tour) {
          return new \core\output\inplace_editable(
                  'tool_usertours',
                  'tourname',
                  $tour->get_id(),
                  true,
                  \html_writer::link(
                      $tour->get_view_link(),
                      $tour->get_name()
                  ),
                  $tour->get_name()
              );
      }
code_tokens: public static function render_tourname_inplace_editable ( tour $ tour ) { return new \ core \ output \ inplace_editable ( 'tool_usertours' , 'tourname' , $ tour -> get_id ( ) , true , \ html_writer :: link ( $ tour -> get_view_link ( ) , $ tour -> get_name ( ) ) , $ tour -> get_name ( ) ) ; }
docstring: Render the inplace editable used to edit the tour name.
  
  @param   tour        $tour       The tour to edit.
  @return  string
docstring_tokens: Render the inplace editable used to edit the tour name .