Model
Group
Magento\Customer\Model\Customer\Source\Group
What it does
This source model provides an array of customer groups formatted as options for dropdowns and selects in the Magento admin panel.
Developers use this class when creating system configuration fields, grid filters, or form elements that need to display a list of all available customer groups including an 'ALL GROUPS' option.
Public Methods
- toOptionArray()