General questions about Magento 2 modifier

General questions about Magento 2 PHP modifiers that are the server-side part of UI components configuration. Using modifiers is optional and might be necessary when static declaration in XML configuration files is not suitable for the tasks. For example, in cases when additional data should be loaded from database. Or the other specific example is the default product creation form, for which the modifier is a place where validations are added to display only certain fields for certain product types .

Modifier classes should be used when static declaration is not applicable. For example, in cases when additional data should be loaded from database. Also, modifier is a place where you add validations to display only certain fields for certain product types.

Docs:

https://devdocs.magento.com/guides/v2.1/ui_comp_guide/concepts/ui_comp_modifier_concept.html

https://devdocs.magento.com/guides/v2.2/ui_comp_guide/concepts/ui_comp_modifier_concept.html

https://devdocs.magento.com/guides/v2.3/ui_comp_guide/concepts/ui_comp_modifier_concept.html

https://devdocs.magento.com/guides/v2.1/howdoi/customize-modifier-class.html

https://devdocs.magento.com/guides/v2.2/howdoi/customize-modifier-class.html