Defined validation field type category and updated the allow_only_one field type to make it compatible with Drupal 10.2 field UI changes.
Closes #3465556 #3428838