src/ORM/FieldType/DBField.php
public function scaffoldFormField($title = null, $params = null)
    {
        return TextField::create($this->name, $title);
    }
public function scaffoldFormField($title = null, $params = null)
    {
        return TextField::create($this->name, $title);
    }
public function scaffoldFormField ( $ title = null , $ params = null ) { return TextField :: create ( $ this -> name , $ title ) ; }
Returns a FormField instance used as a default
for form scaffolding.

Used by {@link SearchContext}, {@link ModelAdmin}, {@link DataObject::scaffoldFormFields()}

@param string $title Optional. Localized title of the generated instance
@param array $params
@return FormField
Returns a FormField instance used as a default for form scaffolding .