Model
Options
Magento\Customer\Model\Options
What it does
This class provides customer name prefix and suffix options (e.g., Mr., Mrs., Jr., Sr.) for forms based on store configuration.
Developers use it when building customer registration or profile forms to populate dropdown menus with appropriate name title options, with support for optional/required field configurations.
Public Methods
- getNamePrefixOptions()
- getNameSuffixOptions()