public function get_field_config_form(field_controller $field) : field_config_form {
         $form = new field_config_form(null, ['field' => $field]);
         $form->set_data(api::prepare_field_for_config_form($field));
         return $form;
    }
public function get_field_config_form(field_controller $field) : field_config_form {
         $form = new field_config_form(null, ['field' => $field]);
         $form->set_data(api::prepare_field_for_config_form($field));
         return $form;
    }
public function get_field_config_form ( field_controller $ field ) : field_config_form { $ form = new field_config_form ( null , [ 'field' => $ field ] ) ; $ form -> set_data ( api :: prepare_field_for_config_form ( $ field ) ) ; return $ form ; }
The form to create or edit a field

@param field_controller $field
@return field_config_form
The form to create or edit a field