original_string: protected function makeModelShowFieldDataForRelationData(ModelRelationData $relation, ModelInformationInterface $info)
      {
          return new ModelShowFieldData([
              'source'         => $relation->method,
              'strategy'       => $this->determineListDisplayStrategyForRelation($relation),
              'label'          => ucfirst(str_replace('_', ' ', snake_case($relation->method))),
          ]);
      }
code: protected function makeModelShowFieldDataForRelationData(ModelRelationData $relation, ModelInformationInterface $info)
      {
          return new ModelShowFieldData([
              'source'         => $relation->method,
              'strategy'       => $this->determineListDisplayStrategyForRelation($relation),
              'label'          => ucfirst(str_replace('_', ' ', snake_case($relation->method))),
          ]);
      }
code_tokens: protected function makeModelShowFieldDataForRelationData ( ModelRelationData $ relation , ModelInformationInterface $ info ) { return new ModelShowFieldData ( [ 'source' => $ relation -> method , 'strategy' => $ this -> determineListDisplayStrategyForRelation ( $ relation ) , 'label' => ucfirst ( str_replace ( '_' , ' ' , snake_case ( $ relation -> method ) ) ) , ] ) ; }
docstring: Makes data set for list field given relation data.
  
  @param ModelRelationData                          $relation
  @param ModelInformationInterface|ModelInformation $info
  @return ModelShowFieldData
docstring_tokens: Makes data set for list field given relation data .