Log in
Model

SourceHydrator

Magento\InventoryAdminUi\Model\Source\SourceHydrator

What it does

This class populates a Source object with data from admin UI forms, specifically handling the conversion and processing of region and coordinate data before hydrating the Source entity.

Developers use this when creating or updating inventory sources through the Magento admin panel to ensure form data is properly formatted and transferred to the Source model.

Public Methods

  • hydrate()