original_string: protected function makeModelFormFieldDataForAttributeData(ModelAttributeData $attribute)
      {
          $strategy = $this->determineFormDisplayStrategyForAttribute($attribute);
  
          return new ModelFormFieldData([
              'key'              => $attribute->name,
              'display_strategy' => $strategy,
              'store_strategy'   => $this->determineFormStoreStrategyForAttribute($attribute),
              'translated'       => $attribute->translated,
              'required'         => $this->shouldModelFormFieldBeRequired($attribute, $strategy),
              'options'          => $this->determineFormFieldOptions($attribute),
          ]);
      }
code: protected function makeModelFormFieldDataForAttributeData(ModelAttributeData $attribute)
      {
          $strategy = $this->determineFormDisplayStrategyForAttribute($attribute);
  
          return new ModelFormFieldData([
              'key'              => $attribute->name,
              'display_strategy' => $strategy,
              'store_strategy'   => $this->determineFormStoreStrategyForAttribute($attribute),
              'translated'       => $attribute->translated,
              'required'         => $this->shouldModelFormFieldBeRequired($attribute, $strategy),
              'options'          => $this->determineFormFieldOptions($attribute),
          ]);
      }
code_tokens: protected function makeModelFormFieldDataForAttributeData ( ModelAttributeData $ attribute ) { $ strategy = $ this -> determineFormDisplayStrategyForAttribute ( $ attribute ) ; return new ModelFormFieldData ( [ 'key' => $ attribute -> name , 'display_strategy' => $ strategy , 'store_strategy' => $ this -> determineFormStoreStrategyForAttribute ( $ attribute ) , 'translated' => $ attribute -> translated , 'required' => $ this -> shouldModelFormFieldBeRequired ( $ attribute , $ strategy ) , 'options' => $ this -> determineFormFieldOptions ( $ attribute ) , ] ) ; }
docstring: Makes data set for form field given attribute data.
  
  @param ModelAttributeData $attribute
  @return ModelFormFieldData
docstring_tokens: Makes data set for form field given attribute data .