How does \Magento\Bundle\Ui\DataProvider\Product\Form\Modifier\StockData 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/Bundle/Ui/DataProvider/Product/Form/Modifier/StockData.php#L12-L15

Usage

https://github.com/magento/magento2/blob/e0ed4bad/app/code/Magento/Bundle/etc/adminhtml/di.xml#L29-L32

Implementation

https://github.com/magento/magento2/blob/e0ed4bad/app/code/Magento/Bundle/Ui/DataProvider/Product/Form/Modifier/StockData.php#L34-L37

See also: