original_string: public static function get_category_inplace_editable(category_controller $category, bool $editable = true) : inplace_editable {
          return new inplace_editable('core_customfield',
                                      'category',
                                      $category->get('id'),
                                      $editable,
                                      $category->get_formatted_name(),
                                      $category->get('name'),
                                      get_string('editcategoryname', 'core_customfield'),
                                      get_string('newvaluefor', 'core_form', format_string($category->get('name')))
          );
      }
code: public static function get_category_inplace_editable(category_controller $category, bool $editable = true) : inplace_editable {
          return new inplace_editable('core_customfield',
                                      'category',
                                      $category->get('id'),
                                      $editable,
                                      $category->get_formatted_name(),
                                      $category->get('name'),
                                      get_string('editcategoryname', 'core_customfield'),
                                      get_string('newvaluefor', 'core_form', format_string($category->get('name')))
          );
      }
code_tokens: public static function get_category_inplace_editable ( category_controller $ category , bool $ editable = true ) : inplace_editable { return new inplace_editable ( 'core_customfield' , 'category' , $ category -> get ( 'id' ) , $ editable , $ category -> get_formatted_name ( ) , $ category -> get ( 'name' ) , get_string ( 'editcategoryname' , 'core_customfield' ) , get_string ( 'newvaluefor' , 'core_form' , format_string ( $ category -> get ( 'name' ) ) ) ) ; }
docstring: Returns an object for inplace editable
  
  @param category_controller $category category that needs to be moved
  @param bool $editable
  @return inplace_editable
docstring_tokens: Returns an object for inplace editable