Model
StatusLabel
Magento\Sales\Model\Order\StatusLabel
What it does
This class retrieves localized order status labels based on the store view and application area (frontend/adminhtml).
Developers use it to display the correct translated order status to customers or admin users, and it can mask certain statuses to show different labels in different areas (e.g., showing 'Processing' instead of technical internal status codes).
Public Methods
- getStatusFrontendLabel()
- maskStatusForArea()
- getStatusLabel()