My module gives a configuration type which permits to pick out a content material kind and on submit 2 new fields will likely be added to Drupal Development chosen content material varieties.
I wish to add these fields to Drupal Development content material varieties programmatically and I attempted this utilizing hook_entity_bundle_field_info
however Drupal Development fields do not get saved.
How can I save Drupal Development fields? And the way can I delete Drupal Development fields (if Drupal Development person modifications Drupal Development content material kind in Drupal Development configuration type)?