Im trying to populate an existing GenericEnumFieldDescriptor with ALL countries:
For obvious reasons, I'd like to automate this using the DomHelper, by passing Module, SectionDefinitionID and FieldDescriptorID as arguments.
However, fetching existing SectionDefinitions or FieldDescriptors return immutable objects. So I can't change them.
It seems I have to create the entire section from scratch using a CustomSectionDefinition?
I could re-create the existing Section by copy and add the GenericEnumFieldDescriptor Values on top, and replace it with the original Section. But this seems inadequate for the current use case.