Log in
Model

SourceRegionDataProcessor

Magento\InventoryAdminUi\Model\Source\SourceRegionDataProcessor

What it does

This class processes and normalizes region data for inventory sources in the Magento Admin UI.

It ensures that empty region fields (both region_id and region text) are set to null rather than empty strings, maintaining data consistency when saving or updating source location information.

Developers would use this when handling source form submissions to standardize region data before persistence.

Public Methods

  • execute()