How does \Magento\Catalog\Ui\DataProvider\Product\Form\Modifier\CustomOptions work?

Preliminary reading: How does a backend product form define the data to be passed to its UI component on the client (JavaScript) side?

Declaration

https://github.com/magento/magento2/blob/e0ed4bad/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php#L26-L30

Usage

https://github.com/magento/magento2/blob/e0ed4bad/app/code/Magento/Catalog/etc/adminhtml/di.xml#L120-L123

Implementation

https://github.com/magento/magento2/blob/e0ed4bad/app/code/Magento/Catalog/Ui/DataProvider/Product/Form/Modifier/CustomOptions.php#L151-L185

See also: